package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.exception.Assert;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.dto.integration.app.ChangeColumnDto;
import com.sg.dto.integration.calc.BatchQueryStandardDataListReqDto;
import com.sg.dto.integration.calc.BatchQueryStandardDataListRespDto;
import com.sg.dto.integration.calc.StandardDataDto;
import com.sg.dto.integration.component.QueryIntegerVariableDetailComReqDto;
import com.sg.dto.integration.component.QueryIntegerVariableDetailComRespDto;
import com.sg.dto.integration.finance.AccountCapitalSourceDto;
import com.sg.dto.integration.finance.BatchQueryAccountCapitalSourceComReqDto;
import com.sg.dto.integration.finance.BatchQueryAccountCapitalSourceComRespDto;
import com.sg.service.biz.bff.EvaSystemService;
import com.sg.service.biz.bff.nb.NbEvaSystem;
import com.wicket.okrapp.integration.*;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrbff.common.dto.TreeNode;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrframework.integration.*;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class EvaSystemServiceImpl implements EvaSystemService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.framework.DivineDataService fwBaseDivineDataClient;

    @Resource
    NbEvaSystem nbEvaSystem;

    @Resource
    com.sg.service.biz.framework.PowerService fwBasePowerClient;

    @Resource
    com.sg.service.biz.app.EvaSystemService fwAppEvaSystemClient;
    @Resource
    com.sg.service.biz.framework.OrgService fwBaseOrgClient;
    @Resource
    com.sg.service.biz.framework.NullService fwBaseNullClient;
    @Resource
    com.sg.service.biz.framework.InductionRecordService fwBaseInductionRecordClient;
    @Resource
    com.sg.service.biz.calc.StandardDataService fwCalcStandardDataClient;
    @Resource
    com.sg.service.biz.framework.RoleService fwBaseRoleClient;
    @Resource
    com.sg.service.biz.app.DivineDataService fwAppDivineDataClient;
    @Resource
    com.sg.service.biz.component.ConfSchemeService fwCompConfSchemeClient;
    @Resource
    com.sg.service.biz.app.TargetCycleService fwAppTargetCycleClient;
    @Resource
    com.sg.service.biz.app.EvaThemeService fwAppEvaThemeClient;
    @Resource
    com.sg.service.biz.app.ChangeColumnService fwAppChangeColumnClient;
    @Resource
    com.sg.service.biz.app.ConventionalSchedulingService fwAppConventionalSchedulingClient;
    @Resource
    com.sg.service.biz.app.BatchService fwAppBatchClient;
    @Resource
    com.sg.service.biz.app.TargetContentService fwAppTargetContentClient;
    @Resource
    com.sg.service.biz.component.TemplateEngineService fwCompTemplateEngineClient;

    @Resource
    com.sg.service.biz.app.InterfaceModeService fwAppInterfaceModeClient;
    @Resource
    com.sg.service.biz.component.InterfaceModeService fwCompInterfaceModeClient;
    @Resource
    com.sg.service.biz.app.ExecuteProgressService fwAppExecuteProgressClient;
    @Resource
    com.sg.service.biz.app.OffStateService fwAppOffStateClient;
    @Resource
    com.sg.service.biz.finance.FinanceService fwFinanceFinanceClient;

    /**
     * B3查高层规划目标周期导航列表(边界)[2188]
     * gen by moon at 10/7/2024, 10:11:58 PM
     */
    @Trace(operationName = "B3查高层规划目标周期导航列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTopPlanTargetCycleMenuListBorderRespDto queryTopPlanTargetCycleMenuListBorder(BffQueryTopPlanTargetCycleMenuListBorderReqDto reqDto) {


        QueryTopPlanTargetCycleMenuListRespDto queryTopPlanTargetCycleMenuListRespDto_1 = null;
//virtualUsage D1查询用于权限角色列表(公共)  2550
        QueryRoleOfPowerListComRespDto queryRoleOfPowerListComRespDto = null;
        QueryRoleOfPowerListComReqDto queryRoleOfPowerListComReqDto = new QueryRoleOfPowerListComReqDto();
        queryRoleOfPowerListComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:64315_1_2550
        queryRoleOfPowerListComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1811486_1_2550

        /*D1查询用于权限角色列表(公共)[2189]   */
        Assert.isNull(queryRoleOfPowerListComReqDto.getOriginalRoleMemberId(), "B3查高层规划目标周期导航列表(边界)-D1查询用于权限角色列表(公共)-身份人员ID不能为空", false);
        Assert.isNull(queryRoleOfPowerListComReqDto.getSubjectLifeCycle(), "B3查高层规划目标周期导航列表(边界)-D1查询用于权限角色列表(公共)-主体生命周期不能为空", false);
        queryRoleOfPowerListComRespDto = fwBaseRoleClient.queryRoleOfPowerListCom(queryRoleOfPowerListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D1-2批量查询权限分配列表（查高层最高权限）  2551
        BatchQueryTributPowerComRespDto batchQueryTributPowerComRespDto = null;
        if (queryRoleOfPowerListComRespDto != null) {
            BatchQueryTributPowerComReqDto batchQueryTributPowerComReqDto = new BatchQueryTributPowerComReqDto();
            batchQueryTributPowerComReqDto.setTypeCode("ROLE");//sourceId:64307_1_2551
            batchQueryTributPowerComReqDto.setPrivacyCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:64309_1_2551
            batchQueryTributPowerComReqDto.setIsDataPrivacy("TRUE");//sourceId:64310_1_2551
            batchQueryTributPowerComReqDto.setPrivacyCategory("MAIN_DATA_PRIVACY");//sourceId:64311_1_2551
            batchQueryTributPowerComReqDto.setBusinessPurposes("BROWSE");//sourceId:906443_1_2551
            batchQueryTributPowerComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:64312_1_2551
            if (queryRoleOfPowerListComRespDto != null && queryRoleOfPowerListComRespDto.getRoleRelList() != null && !CollectionUtil.isEmpty(queryRoleOfPowerListComRespDto.getRoleRelList())) {
                batchQueryTributPowerComReqDto.setTributPowerList(queryRoleOfPowerListComRespDto.getRoleRelList().stream().map(item -> item.getRoleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:64306_1_2551
            }

            /*D1-2批量查询权限分配列表（查高层最高权限）[703] 查询权限标识【评价主题的战略规划场景STRATEGY_PLAN_SCENE】分配给当前用户的角色列表的分配权限记录  */
            Assert.isNull(batchQueryTributPowerComReqDto.getTypeCode(), "B3查高层规划目标周期导航列表(边界)-D1-2批量查询权限分配列表（查高层最高权限）-分配对象类型编码不能为空", false);
            Assert.isNull(batchQueryTributPowerComReqDto.getPrivacyCode(), "B3查高层规划目标周期导航列表(边界)-D1-2批量查询权限分配列表（查高层最高权限）-权限标识不能为空", false);
            Assert.isNull(batchQueryTributPowerComReqDto.getIsDataPrivacy(), "B3查高层规划目标周期导航列表(边界)-D1-2批量查询权限分配列表（查高层最高权限）-是否数据权限不能为空", false);
            Assert.isNull(batchQueryTributPowerComReqDto.getPrivacyCategory(), "B3查高层规划目标周期导航列表(边界)-D1-2批量查询权限分配列表（查高层最高权限）-权限类别不能为空", false);
            Assert.isNull(batchQueryTributPowerComReqDto.getBusinessPurposes(), "B3查高层规划目标周期导航列表(边界)-D1-2批量查询权限分配列表（查高层最高权限）-权限业务用途不能为空", false);
            Assert.isNull(batchQueryTributPowerComReqDto.getSubjectLifeCycle(), "B3查高层规划目标周期导航列表(边界)-D1-2批量查询权限分配列表（查高层最高权限）-主体生命周期不能为空", false);
            batchQueryTributPowerComRespDto = fwBasePowerClient.batchQueryTributPowerCom(batchQueryTributPowerComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        if ((queryRoleOfPowerListComRespDto != null && queryRoleOfPowerListComRespDto.getRoleRelList() != null && queryRoleOfPowerListComRespDto.getRoleRelList().size() > 0 && batchQueryTributPowerComRespDto != null && batchQueryTributPowerComRespDto.getTributPowerList() != null && batchQueryTributPowerComRespDto.getTributPowerList().size() > 0)) {
            //if((D1查询用于权限角色列表(公共).角色人员列表数据集条数 大于 0 and D1-2批量查询权限分配列表（查高层最高权限）.权限分配列表数据集条数 大于 0))  2552

            QueryIntegerVariableDetailComRespDto queryIntegerVariableDetailComRespDto = null;
            QueryIntegerVariableDetailComReqDto queryIntegerVariableDetailComReqDto = new QueryIntegerVariableDetailComReqDto();
            queryIntegerVariableDetailComReqDto.setComNumField(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:908039_1_40616

            /*D2父权限约定条件值“1”[6531]   */

            queryIntegerVariableDetailComRespDto = fwCompInterfaceModeClient.queryIntegerVariableDetailCom(queryIntegerVariableDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            QueryTopPlanTargetCycleMenuListRespDto queryTopPlanTargetCycleMenuListRespDto = null;
            if (queryIntegerVariableDetailComRespDto != null) {
                QueryTopPlanTargetCycleMenuListReqDto queryTopPlanTargetCycleMenuListReqDto = new QueryTopPlanTargetCycleMenuListReqDto();
                queryTopPlanTargetCycleMenuListReqDto.setBizSceneCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:907730_1_40608
                queryTopPlanTargetCycleMenuListReqDto.setEvaluationTemplateTypeCode("TARGET_PLAN");//CUSTOM_CONVENTION//sourceId:907731_1_40608
                if (queryIntegerVariableDetailComRespDto != null) {
                    queryTopPlanTargetCycleMenuListReqDto.setComNumField1(queryIntegerVariableDetailComRespDto.getComNumField());//SimpleFieldAssign//sourceId:907727_1_40608
                }
                if (reqDto != null) {
                    queryTopPlanTargetCycleMenuListReqDto.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:907729_1_40608
                    queryTopPlanTargetCycleMenuListReqDto.setPlanningType(reqDto.getPlanningType());//SimpleFieldAssign//sourceId:907732_1_40608
                }

                /*D3查询高层规划目标周期导航列表[6529]   */
                Assert.isNull(queryTopPlanTargetCycleMenuListReqDto.getComNumField1(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-通用数值字段1（整数型）不能为空", false);
                Assert.isNull(queryTopPlanTargetCycleMenuListReqDto.getBizSceneCode(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-冗余业务场景标识配置项不能为空", false);
                Assert.isNull(queryTopPlanTargetCycleMenuListReqDto.getEvaluationTemplateTypeCode(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-冗余评价模板类型配置项不能为空", false);
                queryTopPlanTargetCycleMenuListRespDto = fwAppEvaSystemClient.queryTopPlanTargetCycleMenuList(queryTopPlanTargetCycleMenuListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                queryTopPlanTargetCycleMenuListRespDto_1 = queryTopPlanTargetCycleMenuListRespDto;
            }
        } else {
            //else  2555

            QueryCurrentUserRecordTributPowerListComRespDto queryCurrentUserRecordTributPowerListComRespDto = null;
            QueryCurrentUserRecordTributPowerListComReqDto queryCurrentUserRecordTributPowerListComReqDto = new QueryCurrentUserRecordTributPowerListComReqDto();
            queryCurrentUserRecordTributPowerListComReqDto.setAllocationObjectId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:2015366_1_73132
            queryCurrentUserRecordTributPowerListComReqDto.setTypeCode("PERSONAL_DEPARTMENT");//sourceId:2015369_1_73132
            queryCurrentUserRecordTributPowerListComReqDto.setIsDataPrivacy("TRUE");//sourceId:2015380_1_73132
            queryCurrentUserRecordTributPowerListComReqDto.setDataModel("STRATEGY_PLAN_SCENE");//sourceId:2015367_1_73132
            queryCurrentUserRecordTributPowerListComReqDto.setPrivacyCategory("SUB_DATA_PRIVACY");//sourceId:2015370_1_73132
            queryCurrentUserRecordTributPowerListComReqDto.setBusinessPurposes("ALL");//sourceId:2015381_1_73132

            /*D1-2查询部门个人权限分配列表（评价主题子数据权限）[4548]   */
            Assert.isNull(queryCurrentUserRecordTributPowerListComReqDto.getAllocationObjectId(), "B3查高层规划目标周期导航列表(边界)-D1-2查询部门个人权限分配列表（评价主题子数据权限）-分配对象ID不能为空", false);
            Assert.isNull(queryCurrentUserRecordTributPowerListComReqDto.getTypeCode(), "B3查高层规划目标周期导航列表(边界)-D1-2查询部门个人权限分配列表（评价主题子数据权限）-分配对象类型编码不能为空", false);
            Assert.isNull(queryCurrentUserRecordTributPowerListComReqDto.getIsDataPrivacy(), "B3查高层规划目标周期导航列表(边界)-D1-2查询部门个人权限分配列表（评价主题子数据权限）-是否数据权限不能为空", false);
            Assert.isNull(queryCurrentUserRecordTributPowerListComReqDto.getDataModel(), "B3查高层规划目标周期导航列表(边界)-D1-2查询部门个人权限分配列表（评价主题子数据权限）-数据父模型编码不能为空", false);
            Assert.isNull(queryCurrentUserRecordTributPowerListComReqDto.getPrivacyCategory(), "B3查高层规划目标周期导航列表(边界)-D1-2查询部门个人权限分配列表（评价主题子数据权限）-权限类别不能为空", false);
            Assert.isNull(queryCurrentUserRecordTributPowerListComReqDto.getBusinessPurposes(), "B3查高层规划目标周期导航列表(边界)-D1-2查询部门个人权限分配列表（评价主题子数据权限）-权限业务用途不能为空", false);
            queryCurrentUserRecordTributPowerListComRespDto = fwBasePowerClient.queryCurrentUserRecordTributPowerListCom(queryCurrentUserRecordTributPowerListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            if ((queryCurrentUserRecordTributPowerListComRespDto != null && queryCurrentUserRecordTributPowerListComRespDto.getCurrentUserRecordTributPowerList() != null && queryCurrentUserRecordTributPowerListComRespDto.getCurrentUserRecordTributPowerList().size() > 0)) {
                //if(D1-2查询部门个人权限分配列表（评价主题子数据权限）.当前用户就职记录权限列表数据集条数 大于 0)  2560

                QueryIntegerVariableDetailComRespDto queryIntegerVariableDetailComRespDto_2 = null;
                QueryIntegerVariableDetailComReqDto queryIntegerVariableDetailComReqDto_1 = new QueryIntegerVariableDetailComReqDto();
                queryIntegerVariableDetailComReqDto_1.setComNumField(Long.valueOf(2));//CUSTOM_CONVENTION//sourceId:908047_1_40617

                /*D2子权限约定条件值“2”[6531]   */

                queryIntegerVariableDetailComRespDto_2 = fwCompInterfaceModeClient.queryIntegerVariableDetailCom(queryIntegerVariableDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                QueryTopPlanTargetCycleMenuListRespDto queryTopPlanTargetCycleMenuListRespDto_2 = null;
                if (queryIntegerVariableDetailComRespDto_2 != null && queryCurrentUserRecordTributPowerListComRespDto != null) {
                    QueryTopPlanTargetCycleMenuListReqDto queryTopPlanTargetCycleMenuListReqDto_1 = new QueryTopPlanTargetCycleMenuListReqDto();
                    queryTopPlanTargetCycleMenuListReqDto_1.setBizSceneCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:907730_1_40611
                    queryTopPlanTargetCycleMenuListReqDto_1.setEvaluationTemplateTypeCode("TARGET_PLAN");//CUSTOM_CONVENTION//sourceId:907731_1_40611
                    if (queryIntegerVariableDetailComRespDto_2 != null) {
                        queryTopPlanTargetCycleMenuListReqDto_1.setComNumField1(queryIntegerVariableDetailComRespDto_2.getComNumField());//SimpleFieldAssign//sourceId:907727_1_40611
                    }
                    if (queryCurrentUserRecordTributPowerListComRespDto != null && queryCurrentUserRecordTributPowerListComRespDto.getCurrentUserRecordTributPowerList() != null && !CollectionUtil.isEmpty(queryCurrentUserRecordTributPowerListComRespDto.getCurrentUserRecordTributPowerList())) {
                        queryTopPlanTargetCycleMenuListReqDto_1.setEvaSubjectTypeTargetList(queryCurrentUserRecordTributPowerListComRespDto.getCurrentUserRecordTributPowerList().stream().map(item -> item.getPrivacyCode())
                                .collect(Collectors.toList()));/*list-to-strings*///sourceId:907728_1_40611
                    }
                    if (reqDto != null) {
                        queryTopPlanTargetCycleMenuListReqDto_1.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:907729_1_40611
                        queryTopPlanTargetCycleMenuListReqDto_1.setPlanningType(reqDto.getPlanningType());//SimpleFieldAssign//sourceId:907732_1_40611
                    }

                    /*D3查询高层规划目标周期导航列表[6529]   */
                    Assert.isNull(queryTopPlanTargetCycleMenuListReqDto_1.getComNumField1(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-通用数值字段1（整数型）不能为空", false);
                    Assert.isNull(queryTopPlanTargetCycleMenuListReqDto_1.getBizSceneCode(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-冗余业务场景标识配置项不能为空", false);
                    Assert.isNull(queryTopPlanTargetCycleMenuListReqDto_1.getEvaluationTemplateTypeCode(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-冗余评价模板类型配置项不能为空", false);
                    queryTopPlanTargetCycleMenuListRespDto_2 = fwAppEvaSystemClient.queryTopPlanTargetCycleMenuList(queryTopPlanTargetCycleMenuListReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                    queryTopPlanTargetCycleMenuListRespDto_1 = queryTopPlanTargetCycleMenuListRespDto_2;
                }
            } else {
                //else  2564

                QueryIntegerVariableDetailComRespDto queryIntegerVariableDetailComRespDto_4 = null;
                QueryIntegerVariableDetailComReqDto queryIntegerVariableDetailComReqDto_2 = new QueryIntegerVariableDetailComReqDto();
                queryIntegerVariableDetailComReqDto_2.setComNumField(Long.valueOf(3));//CUSTOM_CONVENTION//sourceId:908044_1_40618

                /*D2工作组权限约定条件值“3”[6531]   */

                queryIntegerVariableDetailComRespDto_4 = fwCompInterfaceModeClient.queryIntegerVariableDetailCom(queryIntegerVariableDetailComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


                QueryTopPlanTargetCycleMenuListRespDto queryTopPlanTargetCycleMenuListRespDto_3 = null;
                if (queryIntegerVariableDetailComRespDto_4 != null) {
                    QueryTopPlanTargetCycleMenuListReqDto queryTopPlanTargetCycleMenuListReqDto_2 = new QueryTopPlanTargetCycleMenuListReqDto();
                    queryTopPlanTargetCycleMenuListReqDto_2.setBizSceneCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:907730_1_40613
                    queryTopPlanTargetCycleMenuListReqDto_2.setEvaluationTemplateTypeCode("TARGET_PLAN");//CUSTOM_CONVENTION//sourceId:907731_1_40613
                    if (queryIntegerVariableDetailComRespDto_4 != null) {
                        queryTopPlanTargetCycleMenuListReqDto_2.setComNumField1(queryIntegerVariableDetailComRespDto_4.getComNumField());//SimpleFieldAssign//sourceId:907727_1_40613
                    }
                    if (reqDto != null) {
                        queryTopPlanTargetCycleMenuListReqDto_2.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:907729_1_40613
                        queryTopPlanTargetCycleMenuListReqDto_2.setPlanningType(reqDto.getPlanningType());//SimpleFieldAssign//sourceId:907732_1_40613
                    }

                    /*D3查询高层规划目标周期导航列表[6529]   */
                    Assert.isNull(queryTopPlanTargetCycleMenuListReqDto_2.getComNumField1(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-通用数值字段1（整数型）不能为空", false);
                    Assert.isNull(queryTopPlanTargetCycleMenuListReqDto_2.getBizSceneCode(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-冗余业务场景标识配置项不能为空", false);
                    Assert.isNull(queryTopPlanTargetCycleMenuListReqDto_2.getEvaluationTemplateTypeCode(), "B3查高层规划目标周期导航列表(边界)-D3查询高层规划目标周期导航列表-冗余评价模板类型配置项不能为空", false);
                    queryTopPlanTargetCycleMenuListRespDto_3 = fwAppEvaSystemClient.queryTopPlanTargetCycleMenuList(queryTopPlanTargetCycleMenuListReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


                    queryTopPlanTargetCycleMenuListRespDto_1 = queryTopPlanTargetCycleMenuListRespDto_3;
                }
            }
        }
        BffQueryTopPlanTargetCycleMenuListBorderRespDto retData = new BffQueryTopPlanTargetCycleMenuListBorderRespDto();
        if (queryTopPlanTargetCycleMenuListRespDto_1 != null) {
            retData.setEvaSubjectTypeTargetList(queryTopPlanTargetCycleMenuListRespDto_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, BffEvaSubjectTypeTargetDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:907735_1
        }


        return retData;
    }

    /**
     * B3查中层规划目标周期导航列表(边界)[2197]
     * gen by moon at 5/3/2024, 6:54:49 PM
     */
    @Trace(operationName = "B3查中层规划目标周期导航列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMidPlanTargetCycleMenuListBorderRespDto queryMidPlanTargetCycleMenuListBorder(BffQueryMidPlanTargetCycleMenuListBorderReqDto reqDto) {


        QueryMidPlanTargetCycleMenuListBorderRespDto queryMidPlanTargetCycleMenuListBorderRespDto_1 = null;
//步骤0: D1-2查一级部门详情(边界) - queryOneLevelDeptDetailBorder
        QueryOneLevelDeptDetailBorderRespDto queryOneLevelDeptDetailBorderRespDto = null;
        QueryOneLevelDeptDetailBorderReqDto queryOneLevelDeptDetailBorderReqDto = new QueryOneLevelDeptDetailBorderReqDto();
        if (reqDto != null) {
            queryOneLevelDeptDetailBorderReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:64552_1
        }

        /*D1-2查一级部门ID(边界)[2199]   */
        Assert.isNull(queryOneLevelDeptDetailBorderReqDto.getDeptId(), "B3查中层规划目标周期导航列表(边界)-D1-2查一级部门ID(边界)-部门ID不能为空", false);
        queryOneLevelDeptDetailBorderRespDto = fwBaseOrgClient.queryOneLevelDeptDetailBorder(queryOneLevelDeptDetailBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
        Assert.isTrue(queryOneLevelDeptDetailBorderRespDto == null || queryOneLevelDeptDetailBorderRespDto.getDeptId() == null, "找不到数据，系统异常", false);


//步骤1: D3-3查中层规划目标周期导航列表(边界) - queryMidPlanTargetCycleMenuListBorder
        QueryMidPlanTargetCycleMenuListBorderRespDto queryMidPlanTargetCycleMenuListBorderRespDto = null;
        if (queryOneLevelDeptDetailBorderRespDto != null) {
            QueryMidPlanTargetCycleMenuListBorderReqDto queryMidPlanTargetCycleMenuListBorderReqDto = new QueryMidPlanTargetCycleMenuListBorderReqDto();
            queryMidPlanTargetCycleMenuListBorderReqDto.setBizSceneCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:91741_1
            queryMidPlanTargetCycleMenuListBorderReqDto.setEvaluationTemplateTypeCode("TARGET_PLAN");//CUSTOM_CONVENTION//sourceId:91742_1
            if (queryOneLevelDeptDetailBorderRespDto != null) {
                queryMidPlanTargetCycleMenuListBorderReqDto.setEvaObjEntityId(queryOneLevelDeptDetailBorderRespDto.getDeptId());//SimpleFieldAssign//sourceId:91745_1
            }
            if (reqDto != null) {
                queryMidPlanTargetCycleMenuListBorderReqDto.setPlanningType(reqDto.getPlanningType());//SimpleFieldAssign//sourceId:91743_1
                queryMidPlanTargetCycleMenuListBorderReqDto.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:91740_1
            }

            /*D3-3查中层规划目标周期导航列表(边界)[2198]   */
            Assert.isNull(queryMidPlanTargetCycleMenuListBorderReqDto.getEvaObjEntityId(), "B3查中层规划目标周期导航列表(边界)-D3-3查中层规划目标周期导航列表(边界)-被评对象内容表主键ID不能为空", false);
            Assert.isNull(queryMidPlanTargetCycleMenuListBorderReqDto.getBizSceneCode(), "B3查中层规划目标周期导航列表(边界)-D3-3查中层规划目标周期导航列表(边界)-冗余业务场景标识配置项不能为空", false);
            Assert.isNull(queryMidPlanTargetCycleMenuListBorderReqDto.getEvaluationTemplateTypeCode(), "B3查中层规划目标周期导航列表(边界)-D3-3查中层规划目标周期导航列表(边界)-冗余评价模板类型配置项不能为空", false);
            queryMidPlanTargetCycleMenuListBorderRespDto = fwAppEvaSystemClient.queryMidPlanTargetCycleMenuListBorder(queryMidPlanTargetCycleMenuListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryMidPlanTargetCycleMenuListBorderRespDto_1 = queryMidPlanTargetCycleMenuListBorderRespDto;
        }

        BffQueryMidPlanTargetCycleMenuListBorderRespDto retData = new BffQueryMidPlanTargetCycleMenuListBorderRespDto();
        if (queryMidPlanTargetCycleMenuListBorderRespDto_1 != null) {
            retData.setMidPlanTargetCycleMenuList(queryMidPlanTargetCycleMenuListBorderRespDto_1.getMidPlanTargetCycleMenuList().stream().map(item -> BeanUtil.toBean(item, BffMidPlanTargetCycleMenuDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:91764_1
        }


        return retData;
    }

    /**
     * B3-3查基层规划目标周期导航列表(边界)[2218]
     * gen by moon at 5/3/2024, 6:54:52 PM
     */
    @Trace(operationName = "B3-3查基层规划目标周期导航列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryGrassrootsObjMenuListBorderRespDto queryGrassrootsObjMenuListBorder(BffQueryGrassrootsObjMenuListBorderReqDto reqDto) {


        QueryGrassrootsObjMenuListBorderRespDto queryGrassrootsObjMenuListBorderRespDto_1 = null;
//步骤0: D3-3查基层规划目标周期导航列表(边界) - queryGrassrootsObjMenuListBorder
        QueryGrassrootsObjMenuListBorderRespDto queryGrassrootsObjMenuListBorderRespDto = null;
        QueryGrassrootsObjMenuListBorderReqDto queryGrassrootsObjMenuListBorderReqDto = new QueryGrassrootsObjMenuListBorderReqDto();
        if (reqDto != null) {
            queryGrassrootsObjMenuListBorderReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:65102_1
            queryGrassrootsObjMenuListBorderReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:65103_1
            queryGrassrootsObjMenuListBorderReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:90523_1
            queryGrassrootsObjMenuListBorderReqDto.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:65104_1
        }

        /*D3-3查基层规划目标周期导航列表(边界)[2200]   */

        queryGrassrootsObjMenuListBorderRespDto = fwAppEvaSystemClient.queryGrassrootsObjMenuListBorder(queryGrassrootsObjMenuListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryGrassrootsObjMenuListBorderRespDto_1 = queryGrassrootsObjMenuListBorderRespDto;

        BffQueryGrassrootsObjMenuListBorderRespDto retData = new BffQueryGrassrootsObjMenuListBorderRespDto();
        if (queryGrassrootsObjMenuListBorderRespDto_1 != null) {
            retData.setExecuteCycleStageList(queryGrassrootsObjMenuListBorderRespDto_1.getExecuteCycleStageList().stream().map(item -> BeanUtil.toBean(item, BffExecuteCycleStageDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:65108_1
        }


        return retData;
    }

    /**
     * B3-3查基础部门规划目标周期导航列表(边界)[2224]
     * gen by moon at 5/3/2024, 6:54:55 PM
     */
    @Trace(operationName = "B3-3查基础部门规划目标周期导航列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryGrassRootsDeptObjMenuListBorderRespDto queryGrassRootsDeptObjMenuListBorder(BffQueryGrassRootsDeptObjMenuListBorderReqDto reqDto) {


        QueryGrassRootsDeptObjMenuListBorderRespDto queryGrassRootsDeptObjMenuListBorderRespDto_1 = null;
//步骤0: D3-3查基础部门规划目标周期导航列表(边界) - queryGrassRootsDeptObjMenuListBorder
        QueryGrassRootsDeptObjMenuListBorderRespDto queryGrassRootsDeptObjMenuListBorderRespDto = null;
        QueryGrassRootsDeptObjMenuListBorderReqDto queryGrassRootsDeptObjMenuListBorderReqDto = new QueryGrassRootsDeptObjMenuListBorderReqDto();
        if (reqDto != null) {
            queryGrassRootsDeptObjMenuListBorderReqDto.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:65190_1
            queryGrassRootsDeptObjMenuListBorderReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:312464_1
        }

        /*D3-3查基础部门规划目标周期导航列表(边界)[2223]   */
        Assert.isNull(queryGrassRootsDeptObjMenuListBorderReqDto.getDeptId(), "B3-3查基础部门规划目标周期导航列表(边界)-D3-3查基础部门规划目标周期导航列表(边界)-当前部门ID不能为空", false);
        queryGrassRootsDeptObjMenuListBorderRespDto = fwAppEvaSystemClient.queryGrassRootsDeptObjMenuListBorder(queryGrassRootsDeptObjMenuListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryGrassRootsDeptObjMenuListBorderRespDto_1 = queryGrassRootsDeptObjMenuListBorderRespDto;

        BffQueryGrassRootsDeptObjMenuListBorderRespDto retData = new BffQueryGrassRootsDeptObjMenuListBorderRespDto();
        if (queryGrassRootsDeptObjMenuListBorderRespDto_1 != null) {
            retData.setExecuteCycleStageList(queryGrassRootsDeptObjMenuListBorderRespDto_1.getExecuteCycleStageList().stream().map(item -> BeanUtil.toBean(item, BffExecuteCycleStageDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:114154_1
        }


        return retData;
    }

    /**
     * B3-3查我任务及观测点列表(边界)[2229]
     * gen by moon at 9/28/2024, 3:34:10 PM
     */
    @Trace(operationName = "B3-3查我任务及观测点列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMyTaskPostViewPointListBorderRespDto queryMyTaskPostViewPointListBorder(BffQueryMyTaskPostViewPointListBorderReqDto reqDto) {


        QueryMyTaskPostViewPointListBorderRespDto queryMyTaskPostViewPointListBorderRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 = null;
//步骤0: D3-3查我任务及观测点列表(边界) - queryMyTaskPostViewPointListBorder
        QueryMyTaskPostViewPointListBorderRespDto queryMyTaskPostViewPointListBorderRespDto = null;
        QueryMyTaskPostViewPointListBorderReqDto queryMyTaskPostViewPointListBorderReqDto = new QueryMyTaskPostViewPointListBorderReqDto();
        if (reqDto != null) {
            queryMyTaskPostViewPointListBorderReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:90749_1
            queryMyTaskPostViewPointListBorderReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:65331_1
            queryMyTaskPostViewPointListBorderReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:65335_1
            queryMyTaskPostViewPointListBorderReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:380495_1
            queryMyTaskPostViewPointListBorderReqDto.setIsLast(reqDto.getIsLast());//SimpleFieldAssign//sourceId:1966201_1
            queryMyTaskPostViewPointListBorderReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1966202_1
            queryMyTaskPostViewPointListBorderReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:380496_1
            queryMyTaskPostViewPointListBorderReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:380497_1
            queryMyTaskPostViewPointListBorderReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:380498_1
            queryMyTaskPostViewPointListBorderReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:380499_1
            queryMyTaskPostViewPointListBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:65333_1
        }

        /*D3-3查我任务及观测点列表(边界)[2225]   */
        Assert.isNull(queryMyTaskPostViewPointListBorderReqDto.getCycleId(), "B3-3查我任务及观测点列表(边界)-D3-3查我任务及观测点列表(边界)-周期ID不能为空", false);
        Assert.isNull(queryMyTaskPostViewPointListBorderReqDto.getIsParentCycle(), "B3-3查我任务及观测点列表(边界)-D3-3查我任务及观测点列表(边界)-是否父周期不能为空", false);
        Assert.isNull(queryMyTaskPostViewPointListBorderReqDto.getIsMetaphase(), "B3-3查我任务及观测点列表(边界)-D3-3查我任务及观测点列表(边界)-是否中期不能为空", false);
        Assert.isNull(queryMyTaskPostViewPointListBorderReqDto.getIsSubCycle(), "B3-3查我任务及观测点列表(边界)-D3-3查我任务及观测点列表(边界)-是否子周期不能为空", false);
        Assert.isNull(queryMyTaskPostViewPointListBorderReqDto.getEvaluationTemplateId(), "B3-3查我任务及观测点列表(边界)-D3-3查我任务及观测点列表(边界)-冗余评价模板ID不能为空", false);
        queryMyTaskPostViewPointListBorderRespDto = fwAppEvaSystemClient.queryMyTaskPostViewPointListBorder(queryMyTaskPostViewPointListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMyTaskPostViewPointListBorderRespDto_1 = queryMyTaskPostViewPointListBorderRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryMyTaskPostViewPointListBorderRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryMyTaskPostViewPointListBorderRespDto != null && queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList() != null && !CollectionUtil.isEmpty(queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList())) {
                batchQueryUserinfoReqDto.setUserinfoList(queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList().stream().map(item -> item.getUserId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:100572_1
            }

            /*D1-2批量查询个人资料列表[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤2: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
        BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
        if (queryMyTaskPostViewPointListBorderRespDto != null && queryMyTaskPostViewPointListBorderRespDto != null && queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList() != null && !CollectionUtil.isEmpty(queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList())) {
            BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto = new BatchQueryDeptComBorderReqDto();
            if (queryMyTaskPostViewPointListBorderRespDto != null && queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList() != null && !CollectionUtil.isEmpty(queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList())) {
                batchQueryDeptComBorderReqDto.setDeptList(queryMyTaskPostViewPointListBorderRespDto.getIndexViewPointList().stream().map(item -> item.getDeptId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:114626_1
            }

            /*D1-3批量查部门(公共)(边界)[2568]   */

            batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
        }

        BffQueryMyTaskPostViewPointListBorderRespDto retData = new BffQueryMyTaskPostViewPointListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryMyTaskPostViewPointListBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryMyTaskPostViewPointListBorderRespDto_1.getIndexViewPointList())) {
            for (IndexViewPointDto indexViewPointDto : queryMyTaskPostViewPointListBorderRespDto_1.getIndexViewPointList()) {
                BffIndexViewPointDto retElm = new BffIndexViewPointDto();
                if (queryMyTaskPostViewPointListBorderRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(indexViewPointDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:51004_2
                    retElm.setEvaObjEntityId(indexViewPointDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:56011_2
                    retElm.setEvaObjTableTypeCode(indexViewPointDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:56012_2
                    retElm.setEvaObjTypeCode(indexViewPointDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:51005_2
                    retElm.setTreeTypeCode(indexViewPointDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:56013_2
                    retElm.setTargetCycleContentTypeCode(indexViewPointDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:55985_2
                    retElm.setTargetCycleContentId(indexViewPointDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:51013_2
                    retElm.setTargetId(indexViewPointDto.getTargetId());//SimpleFieldAssign//sourceId:61394_2
                    retElm.setEvaluationTemplateId(indexViewPointDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:61395_2
                    retElm.setCycleId(indexViewPointDto.getCycleId());//SimpleFieldAssign//sourceId:51007_2
                    retElm.setCycleStandardName(indexViewPointDto.getCycleStandardName());//SimpleFieldAssign//sourceId:51008_2
                    retElm.setCycleStartTime(indexViewPointDto.getCycleStartTime());//SimpleFieldAssign//sourceId:61396_2
                    retElm.setCycleEndTime(indexViewPointDto.getCycleEndTime());//SimpleFieldAssign//sourceId:61397_2
                    retElm.setTargetActualStartTime(indexViewPointDto.getTargetActualStartTime());//SimpleFieldAssign//sourceId:236221_2
                    retElm.setTargetActualEndtTime(indexViewPointDto.getTargetActualEndtTime());//SimpleFieldAssign//sourceId:236222_2
                    retElm.setCycleTypeName(indexViewPointDto.getCycleTypeName());//SimpleFieldAssign//sourceId:51011_2
                    retElm.setCycleTypeCode(indexViewPointDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:173627_2
                    retElm.setCycleNumberShortName(indexViewPointDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:51012_2
                    retElm.setCyclelAlias(indexViewPointDto.getCyclelAlias());//SimpleFieldAssign//sourceId:61398_2
                    retElm.setTargetCycleName(indexViewPointDto.getTargetCycleName());//SimpleFieldAssign//sourceId:61399_2
                    retElm.setTargetReached(indexViewPointDto.getTargetReached());//SimpleFieldAssign//sourceId:51020_2
                    retElm.setTaskStatus(indexViewPointDto.getTaskStatus());//SimpleFieldAssign//sourceId:51014_2
                    retElm.setRelativeOrderNumber(indexViewPointDto.getRelativeOrderNumber());//SimpleFieldAssign//sourceId:248360_2
                    retElm.setDutyBodyOrderNum(indexViewPointDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248361_2
                    retElm.setPersonalOrderNumber(indexViewPointDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248362_2
                    retElm.setWeightOrderNumber(indexViewPointDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248363_2
                    retElm.setCreateTime(indexViewPointDto.getCreateTime());//SimpleFieldAssign//sourceId:248364_2
                    retElm.setOperateTime(indexViewPointDto.getOperateTime());//SimpleFieldAssign//sourceId:248365_2
                    retElm.setReportUpdateTime(indexViewPointDto.getReportUpdateTime());//SimpleFieldAssign//sourceId:51017_2
                    retElm.setDeptId(indexViewPointDto.getDeptId());//SimpleFieldAssign//sourceId:61400_2
                    retElm.setVirtualOrgDeptStatus(indexViewPointDto.getVirtualOrgDeptStatus());//SimpleFieldAssign//sourceId:61401_2
                    retElm.setUserId(indexViewPointDto.getUserId());//SimpleFieldAssign//sourceId:56267_2
                    retElm.setVirtualOrganizationPosition(indexViewPointDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:56268_2
                    retElm.setTotalLength(indexViewPointDto.getTotalLength());//SimpleFieldAssign//sourceId:51022_2
                    retElm.setDelaySurplusLength(indexViewPointDto.getDelaySurplusLength());//SimpleFieldAssign//sourceId:51021_2
                    retElm.setDeviateLength(indexViewPointDto.getDeviateLength());//SimpleFieldAssign//sourceId:51023_2
                    retElm.setTargetDiagnosticValue(indexViewPointDto.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:61402_2
                    retElm.setShowTargetValue(indexViewPointDto.getShowTargetValue());//SimpleFieldAssign//sourceId:232875_2
                    retElm.setUnit(indexViewPointDto.getUnit());//SimpleFieldAssign//sourceId:232876_2
                    retElm.setWeightScore(indexViewPointDto.getWeightScore());//SimpleFieldAssign//sourceId:61415_2
                    retElm.setPeriodicModeTypeCode(indexViewPointDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:174497_2
                    retElm.setTargetValueType(indexViewPointDto.getTargetValueType());//SimpleFieldAssign//sourceId:98327_2
                    retElm.setIsLeft(indexViewPointDto.getIsLeft());//SimpleFieldAssign//sourceId:98328_2
                    retElm.setActualValue(indexViewPointDto.getActualValue());//SimpleFieldAssign//sourceId:227599_2
                    retElm.setActualValueUnit(indexViewPointDto.getActualValueUnit());//SimpleFieldAssign//sourceId:227600_2
                    retElm.setChangeFromLastTarget(indexViewPointDto.getChangeFromLastTarget());//SimpleFieldAssign//sourceId:227601_2
                    retElm.setChangeFromLastTargetUnit(indexViewPointDto.getChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:227602_2
                    retElm.setFromLastTargetLiftRatio(indexViewPointDto.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:227603_2
                    retElm.setFromLastTargetLiftRatioUnit(indexViewPointDto.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:227604_2
                    retElm.setProgressValue(indexViewPointDto.getProgressValue());//SimpleFieldAssign//sourceId:227605_2
                    retElm.setProgressValueUnit(indexViewPointDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:227606_2
                    retElm.setFromLastProgressValue(indexViewPointDto.getFromLastProgressValue());//SimpleFieldAssign//sourceId:227607_2
                    retElm.setFromLastProgressValueUnit(indexViewPointDto.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:227608_2
                    retElm.setProgressFromLastRatio(indexViewPointDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:227609_2
                    retElm.setProgressFromLastRatioUnit(indexViewPointDto.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:227610_2
                    retElm.setReach(indexViewPointDto.getReach());//SimpleFieldAssign//sourceId:227611_2
                    retElm.setReachUnit(indexViewPointDto.getReachUnit());//SimpleFieldAssign//sourceId:227612_2
                    retElm.setFromLastReach(indexViewPointDto.getFromLastReach());//SimpleFieldAssign//sourceId:227613_2
                    retElm.setFromLastReachUnit(indexViewPointDto.getFromLastReachUnit());//SimpleFieldAssign//sourceId:227614_2
                    retElm.setActualFromLastTimeRatio(indexViewPointDto.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:227615_2
                    retElm.setActualFromLastTimeRatioUnit(indexViewPointDto.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:227616_2
                    retElm.setReportScore(indexViewPointDto.getReportScore());//SimpleFieldAssign//sourceId:227858_2
                    retElm.setReportScoreUnit(indexViewPointDto.getReportScoreUnit());//SimpleFieldAssign//sourceId:227618_2
                    retElm.setActualScore(indexViewPointDto.getActualScore());//SimpleFieldAssign//sourceId:227859_2
                    retElm.setActualScoreUnit(indexViewPointDto.getActualScoreUnit());//SimpleFieldAssign//sourceId:227620_2
                    retElm.setRealTimeScoreLevel(indexViewPointDto.getRealTimeScoreLevel());//SimpleFieldAssign//sourceId:227621_2
                }
                retData.getIndexViewPointList().add(retElm);
                if (batchQueryDeptComBorderRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(indexViewPointDto.getDeptId())) {
                            if (batchQueryDeptComBorderRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:61421_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(indexViewPointDto.getUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:56271_2
                                retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:56269_2
                                retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:56270_2
                            }
                        }
                    }
                }

            }
        }//sourceId:90744_1
        if (queryMyTaskPostViewPointListBorderRespDto_1 != null) {
            retData.setIsParentCycle(queryMyTaskPostViewPointListBorderRespDto_1.getIsParentCycle());//SimpleFieldAssign//sourceId:847638_1
            retData.setIsMetaphase(queryMyTaskPostViewPointListBorderRespDto_1.getIsMetaphase());//SimpleFieldAssign//sourceId:847639_1
            retData.setIsSubCycle(queryMyTaskPostViewPointListBorderRespDto_1.getIsSubCycle());//SimpleFieldAssign//sourceId:847640_1
            retData.setWorkCycleIsSame(queryMyTaskPostViewPointListBorderRespDto_1.getWorkCycleIsSame());//SimpleFieldAssign//sourceId:1063203_1
        }


        retData.setPageNum(queryMyTaskPostViewPointListBorderRespDto.getPageNum());
        retData.setPageSize(queryMyTaskPostViewPointListBorderRespDto.getPageSize());
        retData.setTotal(queryMyTaskPostViewPointListBorderRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryMyTaskPostViewPointListBorderRespDto.getTotalNum()) / Double.valueOf(queryMyTaskPostViewPointListBorderRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3-3查我的部门观测点列表(边界)[2231]
     * gen by moon at 9/28/2024, 3:34:13 PM
     */
    @Trace(operationName = "B3-3查我的部门观测点列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMyDeptViewPointListBorderRespDto queryMyDeptViewPointListBorder(BffQueryMyDeptViewPointListBorderReqDto reqDto) {


        QueryMyDeptViewPointListBorderRespDto queryMyDeptViewPointListBorderRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
//步骤0: D3-3查我的部门观测点列表(边界) - queryMyDeptViewPointListBorder
        QueryMyDeptViewPointListBorderRespDto queryMyDeptViewPointListBorderRespDto = null;
        QueryMyDeptViewPointListBorderReqDto queryMyDeptViewPointListBorderReqDto = new QueryMyDeptViewPointListBorderReqDto();
        if (reqDto != null) {
            queryMyDeptViewPointListBorderReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:65405_1
            queryMyDeptViewPointListBorderReqDto.setIsLast(reqDto.getIsLast());//SimpleFieldAssign//sourceId:1966213_1
            queryMyDeptViewPointListBorderReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1966214_1
            queryMyDeptViewPointListBorderReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:312509_1
            queryMyDeptViewPointListBorderReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:380467_1
            queryMyDeptViewPointListBorderReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:380468_1
            queryMyDeptViewPointListBorderReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:380469_1
            queryMyDeptViewPointListBorderReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:380470_1
            queryMyDeptViewPointListBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:65403_1
        }

        /*D3-3查我的部门观测点列表(边界)[2226]   */
        Assert.isNull(queryMyDeptViewPointListBorderReqDto.getDeptId(), "B3-3查我的部门观测点列表(边界)-D3-3查我的部门观测点列表(边界)-当前部门ID不能为空", false);
        Assert.isNull(queryMyDeptViewPointListBorderReqDto.getCycleId(), "B3-3查我的部门观测点列表(边界)-D3-3查我的部门观测点列表(边界)-周期ID不能为空", false);
        Assert.isNull(queryMyDeptViewPointListBorderReqDto.getIsParentCycle(), "B3-3查我的部门观测点列表(边界)-D3-3查我的部门观测点列表(边界)-是否父周期不能为空", false);
        Assert.isNull(queryMyDeptViewPointListBorderReqDto.getIsMetaphase(), "B3-3查我的部门观测点列表(边界)-D3-3查我的部门观测点列表(边界)-是否中期不能为空", false);
        Assert.isNull(queryMyDeptViewPointListBorderReqDto.getIsSubCycle(), "B3-3查我的部门观测点列表(边界)-D3-3查我的部门观测点列表(边界)-是否子周期不能为空", false);
        Assert.isNull(queryMyDeptViewPointListBorderReqDto.getEvaluationTemplateId(), "B3-3查我的部门观测点列表(边界)-D3-3查我的部门观测点列表(边界)-冗余评价模板ID不能为空", false);
        queryMyDeptViewPointListBorderRespDto = fwAppEvaSystemClient.queryMyDeptViewPointListBorder(queryMyDeptViewPointListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMyDeptViewPointListBorderRespDto_1 = queryMyDeptViewPointListBorderRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryMyDeptViewPointListBorderRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryMyDeptViewPointListBorderRespDto != null && queryMyDeptViewPointListBorderRespDto.getIndexViewPointList() != null && !CollectionUtil.isEmpty(queryMyDeptViewPointListBorderRespDto.getIndexViewPointList())) {
                batchQueryUserinfoReqDto.setUserinfoList(queryMyDeptViewPointListBorderRespDto.getIndexViewPointList().stream().map(item -> item.getUserId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:100576_1
            }

            /*D1-2批量查询个人资料列表[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

        BffQueryMyDeptViewPointListBorderRespDto retData = new BffQueryMyDeptViewPointListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryMyDeptViewPointListBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryMyDeptViewPointListBorderRespDto_1.getIndexViewPointList())) {
            for (IndexViewPointDto indexViewPointDto : queryMyDeptViewPointListBorderRespDto_1.getIndexViewPointList()) {
                BffMyDeptViewPointDto retElm = new BffMyDeptViewPointDto();
                if (queryMyDeptViewPointListBorderRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(indexViewPointDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:51108_2
                    retElm.setEvaObjEntityId(indexViewPointDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:56031_2
                    retElm.setEvaObjTableTypeCode(indexViewPointDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:56032_2
                    retElm.setEvaObjTypeCode(indexViewPointDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:51109_2
                    retElm.setTreeTypeCode(indexViewPointDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:56033_2
                    retElm.setTargetCycleContentTypeCode(indexViewPointDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:55980_2
                    retElm.setTargetCycleContentId(indexViewPointDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:51117_2
                    retElm.setTargetId(indexViewPointDto.getTargetId());//SimpleFieldAssign//sourceId:61141_2
                    retElm.setEvaluationTemplateId(indexViewPointDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:61142_2
                    retElm.setCycleId(indexViewPointDto.getCycleId());//SimpleFieldAssign//sourceId:51111_2
                    retElm.setCycleStandardName(indexViewPointDto.getCycleStandardName());//SimpleFieldAssign//sourceId:51112_2
                    retElm.setCycleTypeName(indexViewPointDto.getCycleTypeName());//SimpleFieldAssign//sourceId:51115_2
                    retElm.setCycleNumberShortName(indexViewPointDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:51116_2
                    retElm.setCycleStartTime(indexViewPointDto.getCycleStartTime());//SimpleFieldAssign//sourceId:61352_2
                    retElm.setCycleEndTime(indexViewPointDto.getCycleEndTime());//SimpleFieldAssign//sourceId:61353_2
                    retElm.setTargetActualStartTime(indexViewPointDto.getTargetActualStartTime());//SimpleFieldAssign//sourceId:236193_2
                    retElm.setTargetActualEndtTime(indexViewPointDto.getTargetActualEndtTime());//SimpleFieldAssign//sourceId:236194_2
                    retElm.setCycleTypeCode(indexViewPointDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:173631_2
                    retElm.setCyclelAlias(indexViewPointDto.getCyclelAlias());//SimpleFieldAssign//sourceId:61143_2
                    retElm.setTargetCycleName(indexViewPointDto.getTargetCycleName());//SimpleFieldAssign//sourceId:61144_2
                    retElm.setTaskStatus(indexViewPointDto.getTaskStatus());//SimpleFieldAssign//sourceId:51118_2
                    retElm.setTargetReached(indexViewPointDto.getTargetReached());//SimpleFieldAssign//sourceId:51124_2
                    retElm.setRelativeOrderNumber(indexViewPointDto.getRelativeOrderNumber());//SimpleFieldAssign//sourceId:248328_2
                    retElm.setDutyBodyOrderNum(indexViewPointDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248329_2
                    retElm.setPersonalOrderNumber(indexViewPointDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248330_2
                    retElm.setWeightOrderNumber(indexViewPointDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248331_2
                    retElm.setCreateTime(indexViewPointDto.getCreateTime());//SimpleFieldAssign//sourceId:248332_2
                    retElm.setOperateTime(indexViewPointDto.getOperateTime());//SimpleFieldAssign//sourceId:227895_2
                    retElm.setReportUpdateTime(indexViewPointDto.getReportUpdateTime());//SimpleFieldAssign//sourceId:51121_2
                    retElm.setUserId(indexViewPointDto.getUserId());//SimpleFieldAssign//sourceId:56287_2
                    retElm.setVirtualOrganizationPosition(indexViewPointDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:56288_2
                    retElm.setTotalLength(indexViewPointDto.getTotalLength());//SimpleFieldAssign//sourceId:51126_2
                    retElm.setDelaySurplusLength(indexViewPointDto.getDelaySurplusLength());//SimpleFieldAssign//sourceId:51125_2
                    retElm.setDeviateLength(indexViewPointDto.getDeviateLength());//SimpleFieldAssign//sourceId:51127_2
                    retElm.setTargetDiagnosticValue(indexViewPointDto.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:61189_2
                    retElm.setShowTargetValue(indexViewPointDto.getShowTargetValue());//SimpleFieldAssign//sourceId:232882_2
                    retElm.setUnit(indexViewPointDto.getUnit());//SimpleFieldAssign//sourceId:232883_2
                    retElm.setWeightScore(indexViewPointDto.getWeightScore());//SimpleFieldAssign//sourceId:51128_2
                    retElm.setIsLeft(indexViewPointDto.getIsLeft());//SimpleFieldAssign//sourceId:98262_2
                    retElm.setPeriodicModeTypeCode(indexViewPointDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:174526_2
                    retElm.setTargetValueType(indexViewPointDto.getTargetValueType());//SimpleFieldAssign//sourceId:98261_2
                    retElm.setActualValue(indexViewPointDto.getActualValue());//SimpleFieldAssign//sourceId:227896_2
                    retElm.setActualValueUnit(indexViewPointDto.getActualValueUnit());//SimpleFieldAssign//sourceId:227897_2
                    retElm.setChangeFromLastTarget(indexViewPointDto.getChangeFromLastTarget());//SimpleFieldAssign//sourceId:227898_2
                    retElm.setChangeFromLastTargetUnit(indexViewPointDto.getChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:227899_2
                    retElm.setFromLastTargetLiftRatio(indexViewPointDto.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:227900_2
                    retElm.setFromLastTargetLiftRatioUnit(indexViewPointDto.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:227901_2
                    retElm.setProgressValue(indexViewPointDto.getProgressValue());//SimpleFieldAssign//sourceId:227902_2
                    retElm.setProgressValueUnit(indexViewPointDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:227903_2
                    retElm.setFromLastProgressValue(indexViewPointDto.getFromLastProgressValue());//SimpleFieldAssign//sourceId:227904_2
                    retElm.setFromLastProgressValueUnit(indexViewPointDto.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:227905_2
                    retElm.setProgressFromLastRatio(indexViewPointDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:227906_2
                    retElm.setProgressFromLastRatioUnit(indexViewPointDto.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:227907_2
                    retElm.setReach(indexViewPointDto.getReach());//SimpleFieldAssign//sourceId:227908_2
                    retElm.setReachUnit(indexViewPointDto.getReachUnit());//SimpleFieldAssign//sourceId:227909_2
                    retElm.setFromLastReach(indexViewPointDto.getFromLastReach());//SimpleFieldAssign//sourceId:227910_2
                    retElm.setFromLastReachUnit(indexViewPointDto.getFromLastReachUnit());//SimpleFieldAssign//sourceId:227911_2
                    retElm.setActualFromLastTimeRatio(indexViewPointDto.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:227912_2
                    retElm.setActualFromLastTimeRatioUnit(indexViewPointDto.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:227913_2
                    retElm.setRealTimeScoreLevel(indexViewPointDto.getRealTimeScoreLevel());//SimpleFieldAssign//sourceId:227918_2
                }
                retData.getMyDeptViewPointList().add(retElm);
                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(indexViewPointDto.getUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:56286_2
                                retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:56284_2
                                retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:56285_2
                            }
                        }
                    }
                }

            }
        }//sourceId:90755_1
        if (queryMyDeptViewPointListBorderRespDto_1 != null) {
            retData.setIsParentCycle(queryMyDeptViewPointListBorderRespDto_1.getIsParentCycle());//SimpleFieldAssign//sourceId:847614_1
            retData.setIsMetaphase(queryMyDeptViewPointListBorderRespDto_1.getIsMetaphase());//SimpleFieldAssign//sourceId:847615_1
            retData.setIsSubCycle(queryMyDeptViewPointListBorderRespDto_1.getIsSubCycle());//SimpleFieldAssign//sourceId:847616_1
            retData.setWorkCycleIsSame(queryMyDeptViewPointListBorderRespDto_1.getWorkCycleIsSame());//SimpleFieldAssign//sourceId:1061721_1
        }


        retData.setPageNum(queryMyDeptViewPointListBorderRespDto.getPageNum());
        retData.setPageSize(queryMyDeptViewPointListBorderRespDto.getPageSize());
        retData.setTotal(queryMyDeptViewPointListBorderRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryMyDeptViewPointListBorderRespDto.getTotalNum()) / Double.valueOf(queryMyDeptViewPointListBorderRespDto.getPageSize()))) <= retData.getPageNum());


        return retData;
    }

    /**
     * B3-3查高层建设任务列表(边界)[2259]
     * gen by moon at 7/16/2024, 8:36:43 PM
     */
    @Trace(operationName = "B3-3查高层建设任务列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTopPlanConstructionTaskListBorderRespDto queryTopPlanConstructionTaskListBorder(BffQueryTopPlanConstructionTaskListBorderReqDto reqDto) {


        QueryMidTopPlanConstrTaskListBorderRespDto queryMidTopPlanConstrTaskListBorderRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_3 = null;
        BatchQueryDeptListRespDto batchQueryDeptListRespDto_1 = null;
        BatchQueryStandardDataListRespDto batchQueryStandardDataListRespDto_1 = null;
//步骤0: D3-3查中高层建设任务列表(边界) - queryMidTopPlanConstrTaskListBorder
        QueryMidTopPlanConstrTaskListBorderRespDto queryMidTopPlanConstrTaskListBorderRespDto = null;
        QueryMidTopPlanConstrTaskListBorderReqDto queryMidTopPlanConstrTaskListBorderReqDto = new QueryMidTopPlanConstrTaskListBorderReqDto();
        queryMidTopPlanConstrTaskListBorderReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1048579_1
        if (reqDto != null) {
            queryMidTopPlanConstrTaskListBorderReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1048571_1
            queryMidTopPlanConstrTaskListBorderReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1048572_1
            queryMidTopPlanConstrTaskListBorderReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1048573_1
            queryMidTopPlanConstrTaskListBorderReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1048574_1
            queryMidTopPlanConstrTaskListBorderReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1048575_1
            queryMidTopPlanConstrTaskListBorderReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1048576_1
            queryMidTopPlanConstrTaskListBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1048577_1
        }

        /*D3-3查中高层建设任务列表(边界)[2253]   */
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getEvaObjEntityId(), "B3-3查高层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getEvaObjTypeCode(), "B3-3查高层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-被评对象类型编码不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getEvaluationTemplateId(), "B3-3查高层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-冗余评价模板ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getSubjectLifeCycle(), "B3-3查高层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-主体生命周期不能为空", false);
        queryMidTopPlanConstrTaskListBorderRespDto = fwAppEvaSystemClient.queryMidTopPlanConstrTaskListBorder(queryMidTopPlanConstrTaskListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMidTopPlanConstrTaskListBorderRespDto_1 = queryMidTopPlanConstrTaskListBorderRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryUserinfoReqDto.setUserinfoList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> String.valueOf(item.getPersonLiableUserId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66306_1
            }

            /*D1-2批量查询个人资料列表（查责任人名）[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤2: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_2 = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto_1 = new BatchQueryUserinfoReqDto();
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryUserinfoReqDto_1.setUserinfoList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> String.valueOf(item.getDeptLeaderUserId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66308_1
            }

            /*D1-2批量查询个人资料列表（查分管领导名）[1020]   */

            batchQueryUserinfoRespDto_2 = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_3 = batchQueryUserinfoRespDto_2;
        }

//步骤3: D1-3批量查询部门列表	 - batchQueryDeptList
        BatchQueryDeptListRespDto batchQueryDeptListRespDto = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryDeptListReqDto batchQueryDeptListReqDto = new BatchQueryDeptListReqDto();
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryDeptListReqDto.setDeptList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getDeptId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66312_1
            }

            /*D1-3批量查询部门列表（查部门名称）[1182]   */

            batchQueryDeptListRespDto = fwBaseOrgClient.batchQueryDeptList(batchQueryDeptListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptListRespDto_1 = batchQueryDeptListRespDto;
        }

//步骤4: D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共) - implementJudgeFatherSonMidSingleCycleCom
        ImplementJudgeFatherSonMidSingleCycleComRespDto implementJudgeFatherSonMidSingleCycleComRespDto = null;
        ImplementJudgeFatherSonMidSingleCycleComReqDto implementJudgeFatherSonMidSingleCycleComReqDto = new ImplementJudgeFatherSonMidSingleCycleComReqDto();
        if (reqDto != null) {
            implementJudgeFatherSonMidSingleCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1934669_1
            implementJudgeFatherSonMidSingleCycleComReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1934670_1
            implementJudgeFatherSonMidSingleCycleComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1934671_1
            implementJudgeFatherSonMidSingleCycleComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1934672_1
        }

        /*D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)[5181]   */
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getCycleId(), "B3-3查高层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-周期ID不能为空", false);
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getIsParentCycle(), "B3-3查高层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-是否父周期不能为空", false);
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getIsMetaphase(), "B3-3查高层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-是否中期不能为空", false);
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getIsSubCycle(), "B3-3查高层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-是否子周期不能为空", false);
        implementJudgeFatherSonMidSingleCycleComRespDto = fwAppTargetCycleClient.implementJudgeFatherSonMidSingleCycleCom(implementJudgeFatherSonMidSingleCycleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤5: D4-1批量查标准数据列表 - batchQueryStandardDataList
        BatchQueryStandardDataListRespDto batchQueryStandardDataListRespDto = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryStandardDataListReqDto batchQueryStandardDataListReqDto = new BatchQueryStandardDataListReqDto();
            batchQueryStandardDataListReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:66331_1
            batchQueryStandardDataListReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077828_1
            batchQueryStandardDataListReqDto.setIsNewData("TRUE");//sourceId:110890_1
            batchQueryStandardDataListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:66333_1
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryStandardDataListReqDto.setStandardDataList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getEvaObjTargetCycleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66330_1
            }
            if (reqDto != null) {
                batchQueryStandardDataListReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:66338_1
            }
            if (implementJudgeFatherSonMidSingleCycleComRespDto != null) {
                batchQueryStandardDataListReqDto.setPeriodId(implementJudgeFatherSonMidSingleCycleComRespDto.getCycleId());//SimpleFieldAssign//sourceId:66332_1
                batchQueryStandardDataListReqDto.setParentSubMidCycleType(implementJudgeFatherSonMidSingleCycleComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1934677_1
            }

            /*D2-4批量查标准数据列表（达成度/进度）[2230]   */
            Assert.isNull(batchQueryStandardDataListReqDto.getTableTypeCode(), "B3-3查高层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-归属内容表类型编码不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getDataType(), "B3-3查高层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-数据点类型不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getDataUsageSceneCode(), "B3-3查高层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-数据业务场景不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getIsNewData(), "B3-3查高层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-是否归属周期最新数据不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getParentSubMidCycleType(), "B3-3查高层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-父子中周期类型不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getSubjectLifeCycle(), "B3-3查高层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-主体生命周期不能为空", false);
            batchQueryStandardDataListRespDto = fwCalcStandardDataClient.batchQueryStandardDataList(batchQueryStandardDataListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryStandardDataListRespDto_1 = batchQueryStandardDataListRespDto;
        }

        BffQueryTopPlanConstructionTaskListBorderRespDto retData = new BffQueryTopPlanConstructionTaskListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryMidTopPlanConstrTaskListBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto_1.getEvaObjTargetCycleList())) {
            for (EvaObjTargetCycleDto evaObjTargetCycleDto : queryMidTopPlanConstrTaskListBorderRespDto_1.getEvaObjTargetCycleList()) {
                BffEvaObjTargetCycleDto retElm = new BffEvaObjTargetCycleDto();
                if (queryMidTopPlanConstrTaskListBorderRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(evaObjTargetCycleDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:221970_2
                    retElm.setParentEvaObjTargetCycleId(evaObjTargetCycleDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:221972_2
                    retElm.setEvaObjTargetCycleCode(evaObjTargetCycleDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:221971_2
                    retElm.setEvaObjEntityId(evaObjTargetCycleDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:221973_2
                    retElm.setEvaObjTableTypeCode(evaObjTargetCycleDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:221974_2
                    retElm.setEvaObjTypeCode(evaObjTargetCycleDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:221975_2
                    retElm.setTreeTypeCode(evaObjTargetCycleDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:221976_2
                    retElm.setTargetCycleName(evaObjTargetCycleDto.getTargetCycleName());//SimpleFieldAssign//sourceId:221977_2
                    retElm.setCyclelAlias(evaObjTargetCycleDto.getCyclelAlias());//SimpleFieldAssign//sourceId:221978_2
                    retElm.setTargetCategoryDescribe(evaObjTargetCycleDto.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:340148_2
                    retElm.setTargetCycleContentTypeCode(evaObjTargetCycleDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:221979_2
                    retElm.setTargetCycleContentId(evaObjTargetCycleDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:221980_2
                    retElm.setCycleId(evaObjTargetCycleDto.getCycleId());//SimpleFieldAssign//sourceId:221981_2
                    retElm.setCycleStandardName(evaObjTargetCycleDto.getCycleStandardName());//SimpleFieldAssign//sourceId:221982_2
                    retElm.setCycleStartTime(evaObjTargetCycleDto.getCycleStartTime());//SimpleFieldAssign//sourceId:221983_2
                    retElm.setCycleEndTime(evaObjTargetCycleDto.getCycleEndTime());//SimpleFieldAssign//sourceId:221984_2
                    retElm.setTargetActualStartTime(evaObjTargetCycleDto.getTargetActualStartTime());//SimpleFieldAssign//sourceId:236175_2
                    retElm.setTargetActualEndtTime(evaObjTargetCycleDto.getTargetActualEndtTime());//SimpleFieldAssign//sourceId:236176_2
                    retElm.setTargetId(evaObjTargetCycleDto.getTargetId());//SimpleFieldAssign//sourceId:221985_2
                    retElm.setSubjectLifeCycle(evaObjTargetCycleDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:221986_2
                    retElm.setEvaluationTemplateId(evaObjTargetCycleDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:222101_2
                    retElm.setWeightValue(evaObjTargetCycleDto.getWeightValue());//SimpleFieldAssign//sourceId:45086_2
                    retElm.setDeptId(evaObjTargetCycleDto.getDeptId());//SimpleFieldAssign//sourceId:45089_2
                    retElm.setVirtualOrgInductionRecordId(evaObjTargetCycleDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:45087_2
                    retElm.setPersonLiableUserId(evaObjTargetCycleDto.getPersonLiableUserId());//SimpleFieldAssign//sourceId:221987_2
                    retElm.setDeptLeaderUserId(evaObjTargetCycleDto.getDeptLeaderUserId());//SimpleFieldAssign//sourceId:221988_2
                    retElm.setOriginalRoleMemberId(evaObjTargetCycleDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:45090_2
                    retElm.setRelativeOrderNumber(evaObjTargetCycleDto.getRelativeOrderNumber());//SimpleFieldAssign//sourceId:248447_2
                    retElm.setDutyBodyOrderNum(evaObjTargetCycleDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248448_2
                    retElm.setPersonalOrderNumber(evaObjTargetCycleDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248449_2
                    retElm.setWeightOrderNumber(evaObjTargetCycleDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248450_2
                    retElm.setCreateTime(evaObjTargetCycleDto.getCreateTime());//SimpleFieldAssign//sourceId:248451_2
                    retElm.setOperateTime(evaObjTargetCycleDto.getOperateTime());//SimpleFieldAssign//sourceId:248452_2
                    retElm.setSortCreateTime(evaObjTargetCycleDto.getSortCreateTime());//SimpleFieldAssign//sourceId:248453_2
                }
                retData.getEvaObjTargetCycleList().add(retElm);
                if (batchQueryStandardDataListRespDto_1 != null) {
                    for (StandardDataDto standardDataDto : batchQueryStandardDataListRespDto_1.getStandardDataList()) {
                        if (standardDataDto.getEntityId().equals(evaObjTargetCycleDto.getEvaObjTargetCycleId())) {
                            if (batchQueryStandardDataListRespDto_1 != null) {
                                retElm.setDataResult(standardDataDto.getDataResult());//SimpleFieldAssign//sourceId:45092_2
                            }
                        }
                    }
                }

                if (batchQueryDeptListRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptListRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(evaObjTargetCycleDto.getDeptId())) {
                            if (batchQueryDeptListRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:45093_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(evaObjTargetCycleDto.getPersonLiableUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setPersonLiableName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:45094_2
                                retElm.setPersonLiableNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:54913_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_3 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_3.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(evaObjTargetCycleDto.getDeptLeaderUserId())) {
                            if (batchQueryUserinfoRespDto_3 != null) {
                                retElm.setDeptLeaderName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:45095_2
                                retElm.setDeptLeaderNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:54914_2
                            }
                        }
                    }
                }

            }
        }//sourceId:79700_1
        if (queryMidTopPlanConstrTaskListBorderRespDto_1 != null) {
            retData.setIsParentCycle(queryMidTopPlanConstrTaskListBorderRespDto_1.getIsParentCycle());//SimpleFieldAssign//sourceId:847585_1
            retData.setIsMetaphase(queryMidTopPlanConstrTaskListBorderRespDto_1.getIsMetaphase());//SimpleFieldAssign//sourceId:847586_1
            retData.setIsSubCycle(queryMidTopPlanConstrTaskListBorderRespDto_1.getIsSubCycle());//SimpleFieldAssign//sourceId:847587_1
            retData.setWorkCycleIsSame(queryMidTopPlanConstrTaskListBorderRespDto_1.getWorkCycleIsSame());//SimpleFieldAssign//sourceId:1059654_1
        }


        List<Object> allNodes = new ArrayList<>();
        allNodes.addAll(retData.getEvaObjTargetCycleList());
        List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
        retData.setTreeNode(nodeList);
        retData.setEvaObjTargetCycleList(null);

        return retData;
    }

    /**
     * B3-3查中层建设任务列表(边界)[2269]
     * gen by moon at 7/16/2024, 8:36:49 PM
     */
    @Trace(operationName = "B3-3查中层建设任务列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMidPlanConstructionTaskListBorderRespDto queryMidPlanConstructionTaskListBorder(BffQueryMidPlanConstructionTaskListBorderReqDto reqDto) {


        QueryMidTopPlanConstrTaskListBorderRespDto queryMidTopPlanConstrTaskListBorderRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_3 = null;
        BatchQueryDeptListRespDto batchQueryDeptListRespDto_1 = null;
        BatchQueryStandardDataListRespDto batchQueryStandardDataListRespDto_1 = null;
//步骤0: D3-3查中高层建设任务列表(边界) - queryMidTopPlanConstrTaskListBorder
        QueryMidTopPlanConstrTaskListBorderRespDto queryMidTopPlanConstrTaskListBorderRespDto = null;
        QueryMidTopPlanConstrTaskListBorderReqDto queryMidTopPlanConstrTaskListBorderReqDto = new QueryMidTopPlanConstrTaskListBorderReqDto();
        queryMidTopPlanConstrTaskListBorderReqDto.setEvaObjTypeCode("FLEVEL_OBJ_TASK_DUTY_DEPT");//sourceId:1048563_1
        queryMidTopPlanConstrTaskListBorderReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1048570_1
        if (reqDto != null) {
            queryMidTopPlanConstrTaskListBorderReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1048562_1
            queryMidTopPlanConstrTaskListBorderReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1048564_1
            queryMidTopPlanConstrTaskListBorderReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1048565_1
            queryMidTopPlanConstrTaskListBorderReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1048566_1
            queryMidTopPlanConstrTaskListBorderReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1048567_1
            queryMidTopPlanConstrTaskListBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1048568_1
        }

        /*D3-3查中高层建设任务列表(边界)[2253]   */
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getEvaObjEntityId(), "B3-3查中层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getEvaObjTypeCode(), "B3-3查中层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-被评对象类型编码不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getEvaluationTemplateId(), "B3-3查中层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-冗余评价模板ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskListBorderReqDto.getSubjectLifeCycle(), "B3-3查中层建设任务列表(边界)-D3-3查中高层建设任务列表(边界)-主体生命周期不能为空", false);
        queryMidTopPlanConstrTaskListBorderRespDto = fwAppEvaSystemClient.queryMidTopPlanConstrTaskListBorder(queryMidTopPlanConstrTaskListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMidTopPlanConstrTaskListBorderRespDto_1 = queryMidTopPlanConstrTaskListBorderRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryUserinfoReqDto.setUserinfoList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> String.valueOf(item.getPersonLiableUserId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66481_1
            }

            /*D1-2批量查询个人资料列表（查责任人名）[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤2: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_2 = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto_1 = new BatchQueryUserinfoReqDto();
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryUserinfoReqDto_1.setUserinfoList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> String.valueOf(item.getDeptLeaderUserId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66483_1
            }

            /*D1-2批量查询个人资料列表（查分管领导名）[1020]   */

            batchQueryUserinfoRespDto_2 = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_3 = batchQueryUserinfoRespDto_2;
        }

//步骤3: D1-3批量查询部门列表	 - batchQueryDeptList
        BatchQueryDeptListRespDto batchQueryDeptListRespDto = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryDeptListReqDto batchQueryDeptListReqDto = new BatchQueryDeptListReqDto();
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryDeptListReqDto.setDeptList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getDeptId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66485_1
            }

            /*D1-3批量查询部门列表（查部门名称）[1182]   */

            batchQueryDeptListRespDto = fwBaseOrgClient.batchQueryDeptList(batchQueryDeptListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptListRespDto_1 = batchQueryDeptListRespDto;
        }

//步骤4: D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共) - implementJudgeFatherSonMidSingleCycleCom
        ImplementJudgeFatherSonMidSingleCycleComRespDto implementJudgeFatherSonMidSingleCycleComRespDto = null;
        ImplementJudgeFatherSonMidSingleCycleComReqDto implementJudgeFatherSonMidSingleCycleComReqDto = new ImplementJudgeFatherSonMidSingleCycleComReqDto();
        if (reqDto != null) {
            implementJudgeFatherSonMidSingleCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1934678_1
            implementJudgeFatherSonMidSingleCycleComReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1934679_1
            implementJudgeFatherSonMidSingleCycleComReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1934680_1
            implementJudgeFatherSonMidSingleCycleComReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1934681_1
        }

        /*D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)[5181]   */
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getCycleId(), "B3-3查中层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-周期ID不能为空", false);
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getIsParentCycle(), "B3-3查中层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-是否父周期不能为空", false);
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getIsMetaphase(), "B3-3查中层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-是否中期不能为空", false);
        Assert.isNull(implementJudgeFatherSonMidSingleCycleComReqDto.getIsSubCycle(), "B3-3查中层建设任务列表(边界)-D3分析父子中周期类型及周期ID用于查高中基层标准数据(公共)-是否子周期不能为空", false);
        implementJudgeFatherSonMidSingleCycleComRespDto = fwAppTargetCycleClient.implementJudgeFatherSonMidSingleCycleCom(implementJudgeFatherSonMidSingleCycleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤5: D4-1批量查标准数据列表 - batchQueryStandardDataList
        BatchQueryStandardDataListRespDto batchQueryStandardDataListRespDto = null;
        if (queryMidTopPlanConstrTaskListBorderRespDto != null) {
            BatchQueryStandardDataListReqDto batchQueryStandardDataListReqDto = new BatchQueryStandardDataListReqDto();
            batchQueryStandardDataListReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:66503_1
            batchQueryStandardDataListReqDto.setIsNewData("TRUE");//sourceId:1077831_1
            batchQueryStandardDataListReqDto.setDataUsageSceneCode("TARGET_PLAN_CALC_DATA_STATISTICS");//sourceId:1077829_1
            batchQueryStandardDataListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:66505_1
            if (queryMidTopPlanConstrTaskListBorderRespDto != null && queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList())) {
                batchQueryStandardDataListReqDto.setStandardDataList(queryMidTopPlanConstrTaskListBorderRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getEvaObjTargetCycleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:66502_1
            }
            if (reqDto != null) {
                batchQueryStandardDataListReqDto.setDataType(reqDto.getDataType());//SimpleFieldAssign//sourceId:66507_1
            }
            if (implementJudgeFatherSonMidSingleCycleComRespDto != null) {
                batchQueryStandardDataListReqDto.setPeriodId(implementJudgeFatherSonMidSingleCycleComRespDto.getCycleId());//SimpleFieldAssign//sourceId:66504_1
                batchQueryStandardDataListReqDto.setParentSubMidCycleType(implementJudgeFatherSonMidSingleCycleComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1934684_1
            }

            /*D2-4批量查标准数据列表（达成度/进度）[2230]   */
            Assert.isNull(batchQueryStandardDataListReqDto.getTableTypeCode(), "B3-3查中层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-归属内容表类型编码不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getDataType(), "B3-3查中层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-数据点类型不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getIsNewData(), "B3-3查中层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-是否归属周期最新数据不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getDataUsageSceneCode(), "B3-3查中层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-数据业务场景不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getParentSubMidCycleType(), "B3-3查中层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-父子中周期类型不能为空", false);
            Assert.isNull(batchQueryStandardDataListReqDto.getSubjectLifeCycle(), "B3-3查中层建设任务列表(边界)-D2-4批量查标准数据列表（达成度/进度）-主体生命周期不能为空", false);
            batchQueryStandardDataListRespDto = fwCalcStandardDataClient.batchQueryStandardDataList(batchQueryStandardDataListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryStandardDataListRespDto_1 = batchQueryStandardDataListRespDto;
        }

        BffQueryMidPlanConstructionTaskListBorderRespDto retData = new BffQueryMidPlanConstructionTaskListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryMidTopPlanConstrTaskListBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskListBorderRespDto_1.getEvaObjTargetCycleList())) {
            for (EvaObjTargetCycleDto evaObjTargetCycleDto : queryMidTopPlanConstrTaskListBorderRespDto_1.getEvaObjTargetCycleList()) {
                BffEvaObjTargetCycleDto retElm = new BffEvaObjTargetCycleDto();
                if (queryMidTopPlanConstrTaskListBorderRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(evaObjTargetCycleDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:221994_2
                    retElm.setEvaObjTargetCycleCode(evaObjTargetCycleDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:221995_2
                    retElm.setParentEvaObjTargetCycleId(evaObjTargetCycleDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:221996_2
                    retElm.setEvaObjEntityId(evaObjTargetCycleDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:221997_2
                    retElm.setEvaObjTableTypeCode(evaObjTargetCycleDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:221998_2
                    retElm.setEvaObjTypeCode(evaObjTargetCycleDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:221999_2
                    retElm.setTreeTypeCode(evaObjTargetCycleDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:222000_2
                    retElm.setTargetCycleName(evaObjTargetCycleDto.getTargetCycleName());//SimpleFieldAssign//sourceId:222001_2
                    retElm.setCyclelAlias(evaObjTargetCycleDto.getCyclelAlias());//SimpleFieldAssign//sourceId:222002_2
                    retElm.setTargetCategoryDescribe(evaObjTargetCycleDto.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:340146_2
                    retElm.setTargetCycleContentTypeCode(evaObjTargetCycleDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:222003_2
                    retElm.setTargetCycleContentId(evaObjTargetCycleDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:222004_2
                    retElm.setCycleId(evaObjTargetCycleDto.getCycleId());//SimpleFieldAssign//sourceId:222005_2
                    retElm.setCycleStandardName(evaObjTargetCycleDto.getCycleStandardName());//SimpleFieldAssign//sourceId:222006_2
                    retElm.setCycleStartTime(evaObjTargetCycleDto.getCycleStartTime());//SimpleFieldAssign//sourceId:222007_2
                    retElm.setCycleEndTime(evaObjTargetCycleDto.getCycleEndTime());//SimpleFieldAssign//sourceId:222008_2
                    retElm.setTargetActualStartTime(evaObjTargetCycleDto.getTargetActualStartTime());//SimpleFieldAssign//sourceId:236179_2
                    retElm.setTargetActualEndtTime(evaObjTargetCycleDto.getTargetActualEndtTime());//SimpleFieldAssign//sourceId:236180_2
                    retElm.setTargetId(evaObjTargetCycleDto.getTargetId());//SimpleFieldAssign//sourceId:222009_2
                    retElm.setRelativeOrderNumber(evaObjTargetCycleDto.getRelativeOrderNumber());//SimpleFieldAssign//sourceId:248049_2
                    retElm.setDutyBodyOrderNum(evaObjTargetCycleDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248050_2
                    retElm.setPersonalOrderNumber(evaObjTargetCycleDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248051_2
                    retElm.setWeightOrderNumber(evaObjTargetCycleDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248052_2
                    retElm.setSortCreateTime(evaObjTargetCycleDto.getSortCreateTime());//SimpleFieldAssign//sourceId:248055_2
                    retElm.setCreateTime(evaObjTargetCycleDto.getCreateTime());//SimpleFieldAssign//sourceId:248053_2
                    retElm.setOperateTime(evaObjTargetCycleDto.getOperateTime());//SimpleFieldAssign//sourceId:248054_2
                    retElm.setEvaluationTemplateId(evaObjTargetCycleDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:222103_2
                    retElm.setSubjectLifeCycle(evaObjTargetCycleDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:222010_2
                    retElm.setWeightValue(evaObjTargetCycleDto.getWeightValue());//SimpleFieldAssign//sourceId:45203_2
                    retElm.setDeptId(evaObjTargetCycleDto.getDeptId());//SimpleFieldAssign//sourceId:45206_2
                    retElm.setVirtualOrgInductionRecordId(evaObjTargetCycleDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:45204_2
                    retElm.setPersonLiableUserId(evaObjTargetCycleDto.getPersonLiableUserId());//SimpleFieldAssign//sourceId:222011_2
                    retElm.setDeptLeaderUserId(evaObjTargetCycleDto.getDeptLeaderUserId());//SimpleFieldAssign//sourceId:222012_2
                    retElm.setOriginalRoleMemberId(evaObjTargetCycleDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:45207_2
                }
                retData.getEvaObjTargetCycleList().add(retElm);
                if (batchQueryStandardDataListRespDto_1 != null) {
                    for (StandardDataDto standardDataDto : batchQueryStandardDataListRespDto_1.getStandardDataList()) {
                        if (standardDataDto.getEntityId().equals(evaObjTargetCycleDto.getEvaObjTargetCycleId())) {
                            if (batchQueryStandardDataListRespDto_1 != null) {
                                retElm.setDataResult(standardDataDto.getDataResult());//SimpleFieldAssign//sourceId:45238_2
                            }
                        }
                    }
                }

                if (batchQueryDeptListRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptListRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(evaObjTargetCycleDto.getDeptId())) {
                            if (batchQueryDeptListRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:45214_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(evaObjTargetCycleDto.getPersonLiableUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setPersonLiableName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:45210_2
                                retElm.setPersonLiableNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:54903_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_3 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_3.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(evaObjTargetCycleDto.getDeptLeaderUserId())) {
                            if (batchQueryUserinfoRespDto_3 != null) {
                                retElm.setDeptLeaderName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:45213_2
                                retElm.setDeptLeaderNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:54904_2
                            }
                        }
                    }
                }

            }
        }//sourceId:79962_1
        if (queryMidTopPlanConstrTaskListBorderRespDto_1 != null) {
            retData.setIsParentCycle(queryMidTopPlanConstrTaskListBorderRespDto_1.getIsParentCycle());//SimpleFieldAssign//sourceId:847579_1
            retData.setIsMetaphase(queryMidTopPlanConstrTaskListBorderRespDto_1.getIsMetaphase());//SimpleFieldAssign//sourceId:847580_1
            retData.setIsSubCycle(queryMidTopPlanConstrTaskListBorderRespDto_1.getIsSubCycle());//SimpleFieldAssign//sourceId:847581_1
            retData.setWorkCycleIsSame(queryMidTopPlanConstrTaskListBorderRespDto_1.getWorkCycleIsSame());//SimpleFieldAssign//sourceId:1059656_1
        }


        List<Object> allNodes = new ArrayList<>();
        allNodes.addAll(retData.getEvaObjTargetCycleList());
        List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
        retData.setTreeNode(nodeList);
        retData.setEvaObjTargetCycleList(null);

        return retData;
    }

    /**
     * B3-3查高层切换部门菜单列表[2272]
     * gen by moon at 6/3/2023, 10:06:53 PM
     */
    @Trace(operationName = "B3-3查高层切换部门菜单列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTopPlanSwitchDeptMenuListRespDto queryTopPlanSwitchDeptMenuList(BffQueryTopPlanSwitchDeptMenuListReqDto reqDto) {


        QueryTopPlanSwitchDeptMenuListRespDto queryTopPlanSwitchDeptMenuListRespDto_1 = null;
        BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 = null;
//步骤0: D3-3查高层切换部门菜单列表 - queryTopPlanSwitchDeptMenuList
        QueryTopPlanSwitchDeptMenuListRespDto queryTopPlanSwitchDeptMenuListRespDto = null;
        QueryTopPlanSwitchDeptMenuListReqDto queryTopPlanSwitchDeptMenuListReqDto = new QueryTopPlanSwitchDeptMenuListReqDto();
        queryTopPlanSwitchDeptMenuListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:82864_1
        if (reqDto != null) {
            queryTopPlanSwitchDeptMenuListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:66561_1
            queryTopPlanSwitchDeptMenuListReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:380549_1
            queryTopPlanSwitchDeptMenuListReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:380550_1
            queryTopPlanSwitchDeptMenuListReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:380551_1
            queryTopPlanSwitchDeptMenuListReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:380552_1
        }

        /*D3-3查高层切换部门菜单列表[2270]   */
        Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getEvaluationTemplateId(), "B3-3查高层切换部门菜单列表-D3-3查高层切换部门菜单列表-冗余评价模板ID不能为空", false);
        Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getCycleId(), "B3-3查高层切换部门菜单列表-D3-3查高层切换部门菜单列表-周期ID不能为空", false);
        Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsParentCycle(), "B3-3查高层切换部门菜单列表-D3-3查高层切换部门菜单列表-是否父周期不能为空", false);
        Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsMetaphase(), "B3-3查高层切换部门菜单列表-D3-3查高层切换部门菜单列表-是否中期不能为空", false);
        Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsSubCycle(), "B3-3查高层切换部门菜单列表-D3-3查高层切换部门菜单列表-是否子周期不能为空", false);
        Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getSubjectLifeCycle(), "B3-3查高层切换部门菜单列表-D3-3查高层切换部门菜单列表-主体生命周期不能为空", false);
        queryTopPlanSwitchDeptMenuListRespDto = fwAppEvaSystemClient.queryTopPlanSwitchDeptMenuList(queryTopPlanSwitchDeptMenuListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryTopPlanSwitchDeptMenuListRespDto_1 = queryTopPlanSwitchDeptMenuListRespDto;

//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
        BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
        if (queryTopPlanSwitchDeptMenuListRespDto != null) {
            BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto = new BatchQueryDeptComBorderReqDto();
            if (queryTopPlanSwitchDeptMenuListRespDto != null && queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList() != null && !CollectionUtil.isEmpty(queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList())) {
                batchQueryDeptComBorderReqDto.setDeptList(queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList().stream().map(item -> item.getEvaObjEntityId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:79492_1
            }

            /*D1-3批量查部门(公共)(边界)[2568]   */

            batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
        }

        BffQueryTopPlanSwitchDeptMenuListRespDto retData = new BffQueryTopPlanSwitchDeptMenuListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryTopPlanSwitchDeptMenuListRespDto_1 != null && !CollectionUtil.isEmpty(queryTopPlanSwitchDeptMenuListRespDto_1.getTopPlanSwitchDeptMenuList())) {
            for (TopPlanSwitchDeptMenuDto topPlanSwitchDeptMenuDto : queryTopPlanSwitchDeptMenuListRespDto_1.getTopPlanSwitchDeptMenuList()) {
                BffTopPlanSwitchDeptMenuDto retElm = new BffTopPlanSwitchDeptMenuDto();
                if (queryTopPlanSwitchDeptMenuListRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(topPlanSwitchDeptMenuDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:38611_2
                    retElm.setEvaObjTargetCycleCode(topPlanSwitchDeptMenuDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:213803_2
                    retElm.setEvaObjEntityId(topPlanSwitchDeptMenuDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:38612_2
                    retElm.setEvaObjTableTypeCode(topPlanSwitchDeptMenuDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:38613_2
                    retElm.setEvaObjTypeCode(topPlanSwitchDeptMenuDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:45696_2
                    retElm.setTreeTypeCode(topPlanSwitchDeptMenuDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:38615_2
                    retElm.setTargetCycleContentId(topPlanSwitchDeptMenuDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:38614_2
                    retElm.setCycleId(topPlanSwitchDeptMenuDto.getCycleId());//SimpleFieldAssign//sourceId:38618_2
                    retElm.setCycleStandardName(topPlanSwitchDeptMenuDto.getCycleStandardName());//SimpleFieldAssign//sourceId:213801_2
                    retElm.setIsParentCycle(topPlanSwitchDeptMenuDto.getIsParentCycle());//SimpleFieldAssign//sourceId:38621_2
                    retElm.setIsMetaphase(topPlanSwitchDeptMenuDto.getIsMetaphase());//SimpleFieldAssign//sourceId:39360_2
                    retElm.setIsSubCycle(topPlanSwitchDeptMenuDto.getIsSubCycle());//SimpleFieldAssign//sourceId:107795_2
                    retElm.setCyclelAlias(topPlanSwitchDeptMenuDto.getCyclelAlias());//SimpleFieldAssign//sourceId:62259_2
                    retElm.setEvaluationTemplateId(topPlanSwitchDeptMenuDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:38622_2
                }
                retData.getTopPlanSwitchDeptMenuList().add(retElm);
                if (batchQueryDeptComBorderRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(topPlanSwitchDeptMenuDto.getEvaObjEntityId())) {
                            if (batchQueryDeptComBorderRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:44652_2
                            }
                        }
                    }
                }

            }
        }//sourceId:66566_1


        return retData;
    }

    /**
     * B3-3查询评价主题管理权限列表(边界)[2276]
     * gen by moon at 9/13/2022, 3:43:35 AM
     */
    @Trace(operationName = "B3-3查询评价主题管理权限列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryEvaThemeMgtPowerListBorderRespDto queryEvaThemeMgtPowerListBorder(BffQueryEvaThemeMgtPowerListBorderReqDto reqDto) {


        QueryEvaThemeMgtPowerListRespDto queryEvaThemeMgtPowerListRespDto_1 = null;
        BatchQueryBizSceneConfSchemeRespDto batchQueryBizSceneConfSchemeRespDto_1 = null;
//步骤0: D3-2查询评价主题管理权限列表 - queryEvaThemeMgtPowerList
        QueryEvaThemeMgtPowerListRespDto queryEvaThemeMgtPowerListRespDto = null;
        QueryEvaThemeMgtPowerListReqDto queryEvaThemeMgtPowerListReqDto = new QueryEvaThemeMgtPowerListReqDto();
        queryEvaThemeMgtPowerListReqDto.setBizSceneCode("STRATEGY_PLAN_SCENE");//CUSTOM_CONVENTION//sourceId:105253_1

        /*D3-2查询评价主题管理权限列表[3089]   */
        Assert.isNull(queryEvaThemeMgtPowerListReqDto.getBizSceneCode(), "B3-3查询评价主题管理权限列表(边界)-D3-2查询评价主题管理权限列表-冗余业务场景标识不能为空", false);
        queryEvaThemeMgtPowerListRespDto = fwAppEvaSystemClient.queryEvaThemeMgtPowerList(queryEvaThemeMgtPowerListReqDto).getData();


        queryEvaThemeMgtPowerListRespDto_1 = queryEvaThemeMgtPowerListRespDto;

//步骤1: D2-3批量查询选项标识匹配评价模板方案 - batchQueryOptionMatchEvaTempConfScheme
        BatchQueryOptionMatchEvaTempConfSchemeRespDto batchQueryOptionMatchEvaTempConfSchemeRespDto = null;
        if (queryEvaThemeMgtPowerListRespDto != null) {
            BatchQueryOptionMatchEvaTempConfSchemeReqDto batchQueryOptionMatchEvaTempConfSchemeReqDto = new BatchQueryOptionMatchEvaTempConfSchemeReqDto();
            if (queryEvaThemeMgtPowerListRespDto != null) {
                batchQueryOptionMatchEvaTempConfSchemeReqDto.setConfItemResultList(queryEvaThemeMgtPowerListRespDto.getEvalThemeList().stream().map(item -> item.getEndValue())
                        .collect(Collectors.toList()));//sourceId:285167_1
            }

            /*D2-3批量查询选项标识匹配评价模板方案[4315]   */

            batchQueryOptionMatchEvaTempConfSchemeRespDto = fwCompConfSchemeClient.batchQueryOptionMatchEvaTempConfScheme(batchQueryOptionMatchEvaTempConfSchemeReqDto).getData();


        }

//步骤2: D2-3批量查询业务场景过滤配置方案 - batchQueryBizSceneConfScheme
        BatchQueryBizSceneConfSchemeRespDto batchQueryBizSceneConfSchemeRespDto = null;
        if (batchQueryOptionMatchEvaTempConfSchemeRespDto != null) {
            BatchQueryBizSceneConfSchemeReqDto batchQueryBizSceneConfSchemeReqDto = new BatchQueryBizSceneConfSchemeReqDto();
            if (batchQueryOptionMatchEvaTempConfSchemeRespDto != null) {
                batchQueryBizSceneConfSchemeReqDto.setBizSceneConfSchemeList(batchQueryOptionMatchEvaTempConfSchemeRespDto.getConfItemResultList().stream().map(item -> item.getConfSchemeId())
                        .collect(Collectors.toList()));//sourceId:286602_1
            }

            /*D2-3批量查询业务场景过滤配置方案[4336]   */

            batchQueryBizSceneConfSchemeRespDto = fwCompConfSchemeClient.batchQueryBizSceneConfScheme(batchQueryBizSceneConfSchemeReqDto).getData();


            batchQueryBizSceneConfSchemeRespDto_1 = batchQueryBizSceneConfSchemeRespDto;
        }

        BffQueryEvaThemeMgtPowerListBorderRespDto retData = new BffQueryEvaThemeMgtPowerListBorderRespDto();
        //sourceId:105254_1


        return retData;
    }

    /**
     * B3-3查目标任务详情(边界)[2651]
     * gen by moon at 9/22/2023, 6:50:14 PM
     */
    @Trace(operationName = "B3-3查目标任务详情(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTargetTaskDetailBorderRespDto queryTargetTaskDetailBorder(BffQueryTargetTaskDetailBorderReqDto reqDto) {


        QueryConstructionTaskDetailBorderRespDto queryConstructionTaskDetailBorderRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 = null;
//步骤0: D3-3查建设任务详情(边界) - queryConstructionTaskDetailBorder
        QueryConstructionTaskDetailBorderRespDto queryConstructionTaskDetailBorderRespDto = null;
        QueryConstructionTaskDetailBorderReqDto queryConstructionTaskDetailBorderReqDto = new QueryConstructionTaskDetailBorderReqDto();
        if (reqDto != null) {
            queryConstructionTaskDetailBorderReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:81817_1
            queryConstructionTaskDetailBorderReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:82657_1
            queryConstructionTaskDetailBorderReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:82482_1
        }

        /*D3-3查建设任务详情(边界)[2648]   */
        Assert.isNull(queryConstructionTaskDetailBorderReqDto.getEvaObjTargetCycleId(), "B3-3查目标任务详情(边界)-D3-3查建设任务详情(边界)-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryConstructionTaskDetailBorderReqDto.getEvaObjTypeCode(), "B3-3查目标任务详情(边界)-D3-3查建设任务详情(边界)-被评对象类型编码不能为空", false);
        Assert.isNull(queryConstructionTaskDetailBorderReqDto.getCycleId(), "B3-3查目标任务详情(边界)-D3-3查建设任务详情(边界)-周期ID不能为空", false);
        queryConstructionTaskDetailBorderRespDto = fwAppEvaSystemClient.queryConstructionTaskDetailBorder(queryConstructionTaskDetailBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryConstructionTaskDetailBorderRespDto_1 = queryConstructionTaskDetailBorderRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryConstructionTaskDetailBorderRespDto != null && queryConstructionTaskDetailBorderRespDto != null && queryConstructionTaskDetailBorderRespDto.getVirtualOrgMemberList() != null && !CollectionUtil.isEmpty(queryConstructionTaskDetailBorderRespDto.getVirtualOrgMemberList()) && queryConstructionTaskDetailBorderRespDto.getVirtualOrgMemberList().size() > 0) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryConstructionTaskDetailBorderRespDto != null && queryConstructionTaskDetailBorderRespDto.getVirtualOrgMemberList() != null && !CollectionUtil.isEmpty(queryConstructionTaskDetailBorderRespDto.getVirtualOrgMemberList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryConstructionTaskDetailBorderRespDto.getVirtualOrgMemberList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:81841_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

//步骤2: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
        if (queryConstructionTaskDetailBorderRespDto != null && queryConstructionTaskDetailBorderRespDto != null && queryConstructionTaskDetailBorderRespDto.getDeptId() != null) {
            QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto = new QueryDeptDetailComBorderReqDto();
            if (queryConstructionTaskDetailBorderRespDto != null) {
                queryDeptDetailComBorderReqDto.setDeptId(queryConstructionTaskDetailBorderRespDto.getDeptId());//SimpleFieldAssign//sourceId:85432_1
            }

            /*D1-3查询部门详情(公共)(边界)[2691]   */

            queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
        }

        BffQueryTargetTaskDetailBorderRespDto retData = new BffQueryTargetTaskDetailBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryConstructionTaskDetailBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryConstructionTaskDetailBorderRespDto_1.getVirtualOrgMemberList())) {
            for (VirtualOrgMemberDto virtualOrgMemberDto : queryConstructionTaskDetailBorderRespDto_1.getVirtualOrgMemberList()) {
                BffVirtualOrgMemberDto retElm = new BffVirtualOrgMemberDto();
                if (queryConstructionTaskDetailBorderRespDto_1 != null) {
                    retElm.setRoleCode(virtualOrgMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:46369_2
                    retElm.setVirtualOrganizationPosition(virtualOrgMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:52195_2
                    retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:47670_2
                }
                retData.getVirtualOrgMemberList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(virtualOrgMemberDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setUserId(perOrgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:46356_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:46357_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:46358_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:46359_2
                            }
                        }
                    }
                }

            }
        }//sourceId:81840_1
        if (queryConstructionTaskDetailBorderRespDto_1 != null) {
            retData.setEvaObjTargetCycleId(queryConstructionTaskDetailBorderRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:82502_1
            retData.setEvaObjEntityId(queryConstructionTaskDetailBorderRespDto_1.getEvaObjEntityId());//SimpleFieldAssign//sourceId:382911_1
            retData.setEvaObjTableTypeCode(queryConstructionTaskDetailBorderRespDto_1.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:382912_1
            retData.setEvaObjTypeCode(queryConstructionTaskDetailBorderRespDto_1.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:88549_1
            retData.setIsParentCycle(queryConstructionTaskDetailBorderRespDto_1.getIsParentCycle());//SimpleFieldAssign//sourceId:82503_1
            retData.setIsSubCycle(queryConstructionTaskDetailBorderRespDto_1.getIsSubCycle());//SimpleFieldAssign//sourceId:88540_1
            retData.setIsMetaphase(queryConstructionTaskDetailBorderRespDto_1.getIsMetaphase());//SimpleFieldAssign//sourceId:88541_1
            retData.setCycleStandardName(queryConstructionTaskDetailBorderRespDto_1.getCycleStandardName());//SimpleFieldAssign//sourceId:82504_1
            retData.setTargetCycleContentId(queryConstructionTaskDetailBorderRespDto_1.getTargetCycleContentId());//SimpleFieldAssign//sourceId:88542_1
            retData.setTargetCycleContentTypeCode(queryConstructionTaskDetailBorderRespDto_1.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:88543_1
            retData.setCyclelAlias(queryConstructionTaskDetailBorderRespDto_1.getCyclelAlias());//SimpleFieldAssign//sourceId:112528_1
            retData.setTargetCycleName(queryConstructionTaskDetailBorderRespDto_1.getTargetCycleName());//SimpleFieldAssign//sourceId:112529_1
            retData.setTargetCategoryDescribe(queryConstructionTaskDetailBorderRespDto_1.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:82507_1
            retData.setTargetCategoryRemarks(queryConstructionTaskDetailBorderRespDto_1.getTargetCategoryRemarks());//SimpleFieldAssign//sourceId:82508_1
            retData.setWeightValue(queryConstructionTaskDetailBorderRespDto_1.getWeightValue());//SimpleFieldAssign//sourceId:87990_1
            retData.setWeightScore(queryConstructionTaskDetailBorderRespDto_1.getWeightScore());//SimpleFieldAssign//sourceId:87991_1
            retData.setTargetFullMarkUnit(queryConstructionTaskDetailBorderRespDto_1.getTargetFullMarkUnit());//SimpleFieldAssign//sourceId:322506_1
            retData.setDeptId(queryConstructionTaskDetailBorderRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:85430_1
            retData.setVirtualOrgDeptStatus(queryConstructionTaskDetailBorderRespDto_1.getVirtualOrgDeptStatus());//SimpleFieldAssign//sourceId:93067_1
            retData.setTargetDiagnosticValue(queryConstructionTaskDetailBorderRespDto_1.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:82511_1
            retData.setShowTargetValue(queryConstructionTaskDetailBorderRespDto_1.getShowTargetValue());//SimpleFieldAssign//sourceId:1132529_1
            retData.setUnit(queryConstructionTaskDetailBorderRespDto_1.getUnit());//SimpleFieldAssign//sourceId:86581_1
        }
        if (queryDeptDetailComBorderRespDto_1 != null) {
            retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:85494_1
        }


        return retData;
    }

    /**
     * B3-3查有目标的下属或其他列表(边界)[2831]
     * gen by moon at 10/18/2023, 12:49:11 PM
     */
    @Trace(operationName = "B3-3查有目标的下属或其他列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryHaveTargetMySubordinateListBorderRespDto queryHaveTargetMySubordinateListBorder(BffQueryHaveTargetMySubordinateListBorderReqDto reqDto) {


        QueryHaveTargetMySubordinateListBorderRespDto queryHaveTargetMySubordinateListBorderRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-3查有目标的下属或其他列表(边界) - queryHaveTargetMySubordinateListBorder
        QueryHaveTargetMySubordinateListBorderRespDto queryHaveTargetMySubordinateListBorderRespDto = null;
        QueryHaveTargetMySubordinateListBorderReqDto queryHaveTargetMySubordinateListBorderReqDto = new QueryHaveTargetMySubordinateListBorderReqDto();
        if (reqDto != null) {
            queryHaveTargetMySubordinateListBorderReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:377066_1
            queryHaveTargetMySubordinateListBorderReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1190473_1
            queryHaveTargetMySubordinateListBorderReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:89460_1
            queryHaveTargetMySubordinateListBorderReqDto.setInTheCircleRoleCode(reqDto.getInTheCircleRoleCode());//SimpleFieldAssign//sourceId:377067_1
        }

        /*D3-3查有目标的下属或其他列表(边界)[2823]   */
        Assert.isNull(queryHaveTargetMySubordinateListBorderReqDto.getRoleCode(), "B3-3查有目标的下属或其他列表(边界)-D3-3查有目标的下属或其他列表(边界)-角色标识不能为空", false);
        queryHaveTargetMySubordinateListBorderRespDto = fwAppEvaSystemClient.queryHaveTargetMySubordinateListBorder(queryHaveTargetMySubordinateListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryHaveTargetMySubordinateListBorderRespDto_1 = queryHaveTargetMySubordinateListBorderRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryHaveTargetMySubordinateListBorderRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryHaveTargetMySubordinateListBorderRespDto != null && queryHaveTargetMySubordinateListBorderRespDto.getHaveTargetMySubordinateList() != null && !CollectionUtil.isEmpty(queryHaveTargetMySubordinateListBorderRespDto.getHaveTargetMySubordinateList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryHaveTargetMySubordinateListBorderRespDto.getHaveTargetMySubordinateList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:89465_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryHaveTargetMySubordinateListBorderRespDto retData = new BffQueryHaveTargetMySubordinateListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryHaveTargetMySubordinateListBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryHaveTargetMySubordinateListBorderRespDto_1.getHaveTargetMySubordinateList())) {
            for (HaveTargetMySubordinateDto haveTargetMySubordinateDto : queryHaveTargetMySubordinateListBorderRespDto_1.getHaveTargetMySubordinateList()) {
                BffHaveTargetMySubordinateDto retElm = new BffHaveTargetMySubordinateDto();
                if (queryHaveTargetMySubordinateListBorderRespDto_1 != null) {
                    retElm.setVirtualOrgInductionRecordId(haveTargetMySubordinateDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:50142_2
                }
                retData.getHaveTargetMySubordinateList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(haveTargetMySubordinateDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setUserId(perOrgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:50143_2
                                retElm.setFirstLetter(perOrgInductionRecordDto.getFirstLetter());//SimpleFieldAssign//sourceId:246500_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:50144_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:50145_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:50146_2
                            }
                        }
                    }
                }

            }
        }//sourceId:89472_1


        return retData;
    }

    /**
     * B3-3查下属或其他目标周期导航列表(边界)[2832]
     * gen by moon at 5/3/2024, 6:55:20 PM
     */
    @Trace(operationName = "B3-3查下属或其他目标周期导航列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubordinateTargetCycleMenuListBorderRespDto querySubordinateTargetCycleMenuListBorder(BffQuerySubordinateTargetCycleMenuListBorderReqDto reqDto) {


        QuerySubordinateTargetCycleMenuListBorderRespDto querySubordinateTargetCycleMenuListBorderRespDto_1 = null;
//步骤0: D3-3查下属或其他目标周期导航列表(边界) - querySubordinateTargetCycleMenuListBorder
        QuerySubordinateTargetCycleMenuListBorderRespDto querySubordinateTargetCycleMenuListBorderRespDto = null;
        QuerySubordinateTargetCycleMenuListBorderReqDto querySubordinateTargetCycleMenuListBorderReqDto = new QuerySubordinateTargetCycleMenuListBorderReqDto();
        if (reqDto != null) {
            querySubordinateTargetCycleMenuListBorderReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:379959_1
            querySubordinateTargetCycleMenuListBorderReqDto.setInTheCircleRoleCode(reqDto.getInTheCircleRoleCode());//SimpleFieldAssign//sourceId:379958_1
            querySubordinateTargetCycleMenuListBorderReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:89684_1
            querySubordinateTargetCycleMenuListBorderReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:89685_1
            querySubordinateTargetCycleMenuListBorderReqDto.setTargetPgsStatus(reqDto.getTargetPgsStatus());//SimpleFieldAssign//sourceId:89686_1
        }

        /*D3-3查下属或其他目标周期导航列表(边界)[2824]   */
        Assert.isNull(querySubordinateTargetCycleMenuListBorderReqDto.getRoleCode(), "B3-3查下属或其他目标周期导航列表(边界)-D3-3查下属或其他目标周期导航列表(边界)-角色标识不能为空", false);
        Assert.isNull(querySubordinateTargetCycleMenuListBorderReqDto.getVirtualOrgInductionRecordId(), "B3-3查下属或其他目标周期导航列表(边界)-D3-3查下属或其他目标周期导航列表(边界)-虚拟组织成员就职记录ID不能为空", false);
        querySubordinateTargetCycleMenuListBorderRespDto = fwAppEvaSystemClient.querySubordinateTargetCycleMenuListBorder(querySubordinateTargetCycleMenuListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        querySubordinateTargetCycleMenuListBorderRespDto_1 = querySubordinateTargetCycleMenuListBorderRespDto;

        BffQuerySubordinateTargetCycleMenuListBorderRespDto retData = new BffQuerySubordinateTargetCycleMenuListBorderRespDto();
        if (querySubordinateTargetCycleMenuListBorderRespDto_1 != null) {
            retData.setExecuteCycleStageList(querySubordinateTargetCycleMenuListBorderRespDto_1.getExecuteCycleStageList().stream().map(item -> BeanUtil.toBean(item, BffExecuteCycleStageDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:89691_1
        }


        return retData;
    }

    /**
     * B3-3查我下属或其他观测点列表(边界)[2843]
     * gen by moon at 9/28/2024, 3:34:24 PM
     */
    @Trace(operationName = "B3-3查我下属或其他观测点列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryMySubordinatePostViewPointListBorderRespDto queryMySubordinatePostViewPointListBorder(BffQueryMySubordinatePostViewPointListBorderReqDto reqDto) {


        QueryMySubordinatePostViewPointListBorderRespDto queryMySubordinatePostViewPointListBorderRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-3查我下属或其他观测点列表(边界) - queryMySubordinatePostViewPointListBorder
        QueryMySubordinatePostViewPointListBorderRespDto queryMySubordinatePostViewPointListBorderRespDto = null;
        QueryMySubordinatePostViewPointListBorderReqDto queryMySubordinatePostViewPointListBorderReqDto = new QueryMySubordinatePostViewPointListBorderReqDto();
        if (reqDto != null) {
            queryMySubordinatePostViewPointListBorderReqDto.setDirectorRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:116057_1
            queryMySubordinatePostViewPointListBorderReqDto.setRoleCode(reqDto.getInTheCircleRoleCode());//SimpleFieldAssign//sourceId:116056_1
            queryMySubordinatePostViewPointListBorderReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:90318_1
            queryMySubordinatePostViewPointListBorderReqDto.setTaskStatus(reqDto.getTaskStatus());//SimpleFieldAssign//sourceId:90324_1
            queryMySubordinatePostViewPointListBorderReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:380424_1
            queryMySubordinatePostViewPointListBorderReqDto.setIsLast(reqDto.getIsLast());//SimpleFieldAssign//sourceId:1966223_1
            queryMySubordinatePostViewPointListBorderReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1966224_1
            queryMySubordinatePostViewPointListBorderReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:380425_1
            queryMySubordinatePostViewPointListBorderReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:380426_1
            queryMySubordinatePostViewPointListBorderReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:380427_1
            queryMySubordinatePostViewPointListBorderReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:380428_1
            queryMySubordinatePostViewPointListBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:90323_1
        }

        /*D3-3查我下属或其他观测点列表(边界)[2825]   */
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getDirectorRoleCode(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-主管或分管领导等角色标识不能为空", false);
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getVirtualOrgInductionRecordId(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-虚拟组织成员就职记录ID不能为空", false);
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getCycleId(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-周期ID不能为空", false);
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getIsParentCycle(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-是否父周期不能为空", false);
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getIsMetaphase(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-是否中期不能为空", false);
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getIsSubCycle(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-是否子周期不能为空", false);
        Assert.isNull(queryMySubordinatePostViewPointListBorderReqDto.getEvaluationTemplateId(), "B3-3查我下属或其他观测点列表(边界)-D3-3查我下属或其他观测点列表(边界)-冗余评价模板ID不能为空", false);
        queryMySubordinatePostViewPointListBorderRespDto = fwAppEvaSystemClient.queryMySubordinatePostViewPointListBorder(queryMySubordinatePostViewPointListBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMySubordinatePostViewPointListBorderRespDto_1 = queryMySubordinatePostViewPointListBorderRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryMySubordinatePostViewPointListBorderRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryMySubordinatePostViewPointListBorderRespDto != null && queryMySubordinatePostViewPointListBorderRespDto.getIndexViewPointList() != null && !CollectionUtil.isEmpty(queryMySubordinatePostViewPointListBorderRespDto.getIndexViewPointList())) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryMySubordinatePostViewPointListBorderRespDto.getIndexViewPointList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:90341_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryMySubordinatePostViewPointListBorderRespDto retData = new BffQueryMySubordinatePostViewPointListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryMySubordinatePostViewPointListBorderRespDto_1 != null && !CollectionUtil.isEmpty(queryMySubordinatePostViewPointListBorderRespDto_1.getIndexViewPointList())) {
            for (IndexViewPointDto indexViewPointDto : queryMySubordinatePostViewPointListBorderRespDto_1.getIndexViewPointList()) {
                BffIndexViewPointDto retElm = new BffIndexViewPointDto();
                if (queryMySubordinatePostViewPointListBorderRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(indexViewPointDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:50735_2
                    retElm.setEvaObjEntityId(indexViewPointDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:56767_2
                    retElm.setEvaObjTableTypeCode(indexViewPointDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:56768_2
                    retElm.setEvaObjTypeCode(indexViewPointDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:50736_2
                    retElm.setTreeTypeCode(indexViewPointDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:56769_2
                    retElm.setTargetCycleContentTypeCode(indexViewPointDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:56754_2
                    retElm.setTargetCycleContentId(indexViewPointDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:50744_2
                    retElm.setTargetId(indexViewPointDto.getTargetId());//SimpleFieldAssign//sourceId:61556_2
                    retElm.setEvaluationTemplateId(indexViewPointDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:56530_2
                    retElm.setCycleId(indexViewPointDto.getCycleId());//SimpleFieldAssign//sourceId:50738_2
                    retElm.setCycleStartTime(indexViewPointDto.getCycleStartTime());//SimpleFieldAssign//sourceId:61557_2
                    retElm.setCycleEndTime(indexViewPointDto.getCycleEndTime());//SimpleFieldAssign//sourceId:61558_2
                    retElm.setTargetActualStartTime(indexViewPointDto.getTargetActualStartTime());//SimpleFieldAssign//sourceId:236207_2
                    retElm.setTargetActualEndtTime(indexViewPointDto.getTargetActualEndtTime());//SimpleFieldAssign//sourceId:236208_2
                    retElm.setCycleStandardName(indexViewPointDto.getCycleStandardName());//SimpleFieldAssign//sourceId:50739_2
                    retElm.setCycleTypeCode(indexViewPointDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:173635_2
                    retElm.setCycleTypeName(indexViewPointDto.getCycleTypeName());//SimpleFieldAssign//sourceId:50742_2
                    retElm.setCycleNumberShortName(indexViewPointDto.getCycleNumberShortName());//SimpleFieldAssign//sourceId:50743_2
                    retElm.setCyclelAlias(indexViewPointDto.getCyclelAlias());//SimpleFieldAssign//sourceId:61559_2
                    retElm.setTargetCycleName(indexViewPointDto.getTargetCycleName());//SimpleFieldAssign//sourceId:61560_2
                    retElm.setTargetReached(indexViewPointDto.getTargetReached());//SimpleFieldAssign//sourceId:50751_2
                    retElm.setTaskStatus(indexViewPointDto.getTaskStatus());//SimpleFieldAssign//sourceId:50745_2
                    retElm.setRelativeOrderNumber(indexViewPointDto.getRelativeOrderNumber());//SimpleFieldAssign//sourceId:248387_2
                    retElm.setDutyBodyOrderNum(indexViewPointDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248388_2
                    retElm.setPersonalOrderNumber(indexViewPointDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248389_2
                    retElm.setWeightOrderNumber(indexViewPointDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248390_2
                    retElm.setCreateTime(indexViewPointDto.getCreateTime());//SimpleFieldAssign//sourceId:248391_2
                    retElm.setOperateTime(indexViewPointDto.getOperateTime());//SimpleFieldAssign//sourceId:248392_2
                    retElm.setReportUpdateTime(indexViewPointDto.getReportUpdateTime());//SimpleFieldAssign//sourceId:50748_2
                    retElm.setVirtualOrgInductionRecordId(indexViewPointDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:61561_2
                    retElm.setVirtualOrganizationPosition(indexViewPointDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:61562_2
                    retElm.setTotalLength(indexViewPointDto.getTotalLength());//SimpleFieldAssign//sourceId:50753_2
                    retElm.setDelaySurplusLength(indexViewPointDto.getDelaySurplusLength());//SimpleFieldAssign//sourceId:50752_2
                    retElm.setDeviateLength(indexViewPointDto.getDeviateLength());//SimpleFieldAssign//sourceId:50754_2
                    retElm.setWeightScore(indexViewPointDto.getWeightScore());//SimpleFieldAssign//sourceId:50755_2
                    retElm.setTargetDiagnosticValue(indexViewPointDto.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:61565_2
                    retElm.setShowTargetValue(indexViewPointDto.getShowTargetValue());//SimpleFieldAssign//sourceId:232890_2
                    retElm.setUnit(indexViewPointDto.getUnit());//SimpleFieldAssign//sourceId:232891_2
                    retElm.setPeriodicModeTypeCode(indexViewPointDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:174531_2
                    retElm.setTargetValueType(indexViewPointDto.getTargetValueType());//SimpleFieldAssign//sourceId:98294_2
                    retElm.setIsLeft(indexViewPointDto.getIsLeft());//SimpleFieldAssign//sourceId:98295_2
                    retElm.setActualValue(indexViewPointDto.getActualValue());//SimpleFieldAssign//sourceId:227506_2
                    retElm.setActualValueUnit(indexViewPointDto.getActualValueUnit());//SimpleFieldAssign//sourceId:227507_2
                    retElm.setChangeFromLastTarget(indexViewPointDto.getChangeFromLastTarget());//SimpleFieldAssign//sourceId:227508_2
                    retElm.setChangeFromLastTargetUnit(indexViewPointDto.getChangeFromLastTargetUnit());//SimpleFieldAssign//sourceId:227509_2
                    retElm.setFromLastTargetLiftRatio(indexViewPointDto.getFromLastTargetLiftRatio());//SimpleFieldAssign//sourceId:227510_2
                    retElm.setFromLastTargetLiftRatioUnit(indexViewPointDto.getFromLastTargetLiftRatioUnit());//SimpleFieldAssign//sourceId:227511_2
                    retElm.setProgressValue(indexViewPointDto.getProgressValue());//SimpleFieldAssign//sourceId:227512_2
                    retElm.setProgressValueUnit(indexViewPointDto.getProgressValueUnit());//SimpleFieldAssign//sourceId:227513_2
                    retElm.setFromLastProgressValue(indexViewPointDto.getFromLastProgressValue());//SimpleFieldAssign//sourceId:227514_2
                    retElm.setFromLastProgressValueUnit(indexViewPointDto.getFromLastProgressValueUnit());//SimpleFieldAssign//sourceId:227515_2
                    retElm.setProgressFromLastRatio(indexViewPointDto.getProgressFromLastRatio());//SimpleFieldAssign//sourceId:227516_2
                    retElm.setProgressFromLastRatioUnit(indexViewPointDto.getProgressFromLastRatioUnit());//SimpleFieldAssign//sourceId:227517_2
                    retElm.setReach(indexViewPointDto.getReach());//SimpleFieldAssign//sourceId:227518_2
                    retElm.setReachUnit(indexViewPointDto.getReachUnit());//SimpleFieldAssign//sourceId:227519_2
                    retElm.setFromLastReach(indexViewPointDto.getFromLastReach());//SimpleFieldAssign//sourceId:227520_2
                    retElm.setFromLastReachUnit(indexViewPointDto.getFromLastReachUnit());//SimpleFieldAssign//sourceId:227521_2
                    retElm.setActualFromLastTimeRatio(indexViewPointDto.getActualFromLastTimeRatio());//SimpleFieldAssign//sourceId:227522_2
                    retElm.setActualFromLastTimeRatioUnit(indexViewPointDto.getActualFromLastTimeRatioUnit());//SimpleFieldAssign//sourceId:227523_2
                    retElm.setReportScore(indexViewPointDto.getReportScore());//SimpleFieldAssign//sourceId:227850_2
                    retElm.setReportScoreUnit(indexViewPointDto.getReportScoreUnit());//SimpleFieldAssign//sourceId:227525_2
                    retElm.setActualScore(indexViewPointDto.getActualScore());//SimpleFieldAssign//sourceId:227851_2
                    retElm.setActualScoreUnit(indexViewPointDto.getActualScoreUnit());//SimpleFieldAssign//sourceId:227527_2
                    retElm.setRealTimeScoreLevel(indexViewPointDto.getRealTimeScoreLevel());//SimpleFieldAssign//sourceId:227528_2
                }
                retData.getIndexViewPointList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(indexViewPointDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setUserId(perOrgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:50778_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:50781_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:50779_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:50780_2
                            }
                        }
                    }
                }

            }
        }//sourceId:90327_1
        if (queryMySubordinatePostViewPointListBorderRespDto_1 != null) {
            retData.setIsParentCycle(queryMySubordinatePostViewPointListBorderRespDto_1.getIsParentCycle());//SimpleFieldAssign//sourceId:847558_1
            retData.setIsMetaphase(queryMySubordinatePostViewPointListBorderRespDto_1.getIsMetaphase());//SimpleFieldAssign//sourceId:847559_1
            retData.setIsSubCycle(queryMySubordinatePostViewPointListBorderRespDto_1.getIsSubCycle());//SimpleFieldAssign//sourceId:847560_1
            retData.setWorkCycleIsSame(queryMySubordinatePostViewPointListBorderRespDto_1.getWorkCycleIsSame());//SimpleFieldAssign//sourceId:1061717_1
        }


        return retData;
    }

    /**
     * B3-3高层下发部门目标任务书指标(管理)[2662]
     * gen by moon at 2/7/2024, 4:39:04 AM
     */
    @Trace(operationName = "B3-3高层下发部门目标任务书指标(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchIssuedDeptObjMisStaRespDto batchIssuedDeptObjMisSta(BffBatchIssuedDeptObjMisStaReqDto reqDto) {


        ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto_1 = null;
//virtualUsage D2执行上并发高层步骤变更锁(公共)  61100
        ImplementConcBhvThemeLockComComRespDto implementConcBhvThemeLockComComRespDto = null;
        ImplementConcBhvThemeLockComComReqDto implementConcBhvThemeLockComComReqDto = new ImplementConcBhvThemeLockComComReqDto();
        implementConcBhvThemeLockComComReqDto.setPreventConcurrentLockingUnlocking("LOCK");//sourceId:1540049_1_61100
        implementConcBhvThemeLockComComReqDto.setBehaviorThemeLockCode("TOP_MID_BASIC_STEP_CHANGE_SWIPES");//sourceId:1540050_1_61100
        implementConcBhvThemeLockComComReqDto.setDuration(Long.valueOf(15));//CUSTOM_CONVENTION//sourceId:1540052_1_61100
        implementConcBhvThemeLockComComReqDto.setTimeUnitType("MINUTES");//sourceId:1540053_1_61100
        implementConcBhvThemeLockComComReqDto.setHandlingMethodConcurrentLockFailure("CONCURRENT_LOCK_FAILURE_NO_ERROR_REPORTED");//sourceId:1540054_1_61100
        if (reqDto != null) {
            implementConcBhvThemeLockComComReqDto.setCommPrimaryKey(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1540051_1_61100
        }

        /*D2执行上并发高层步骤变更锁(公共)[8388]   */
        Assert.isNull(implementConcBhvThemeLockComComReqDto.getPreventConcurrentLockingUnlocking(), "B3-3高层下发部门目标任务书指标(管理)-D2执行上并发高层步骤变更锁(公共)-防并发上锁or解锁不能为空", false);
        Assert.isNull(implementConcBhvThemeLockComComReqDto.getBehaviorThemeLockCode(), "B3-3高层下发部门目标任务书指标(管理)-D2执行上并发高层步骤变更锁(公共)-行为主题锁不能为空", false);
        Assert.isNull(implementConcBhvThemeLockComComReqDto.getCommPrimaryKey(), "B3-3高层下发部门目标任务书指标(管理)-D2执行上并发高层步骤变更锁(公共)-通用主键ID不能为空", false);
        Assert.isNull(implementConcBhvThemeLockComComReqDto.getDuration(), "B3-3高层下发部门目标任务书指标(管理)-D2执行上并发高层步骤变更锁(公共)-锁定时长不能为空", false);
        Assert.isNull(implementConcBhvThemeLockComComReqDto.getTimeUnitType(), "B3-3高层下发部门目标任务书指标(管理)-D2执行上并发高层步骤变更锁(公共)-时间单位类型不能为空", false);
        Assert.isNull(implementConcBhvThemeLockComComReqDto.getHandlingMethodConcurrentLockFailure(), "B3-3高层下发部门目标任务书指标(管理)-D2执行上并发高层步骤变更锁(公共)-并发上锁失败处理方式不能为空", false);
        implementConcBhvThemeLockComComRespDto = fwCompInterfaceModeClient.implementConcBhvThemeLockComCom(implementConcBhvThemeLockComComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((implementConcBhvThemeLockComComRespDto != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations() != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations().equals("EMPTY_LOCK_SUCCESSFUL"))) {
            //if(D2执行上并发高中基层步骤变更锁(公共).防并发上锁情况 等于 空上锁成功)  47479

            ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto = null;
            ImplementTopMidBasicGuideStepRoomReqDto implementTopMidBasicGuideStepRoomReqDto = new ImplementTopMidBasicGuideStepRoomReqDto();
            implementTopMidBasicGuideStepRoomReqDto.setNotarizeTargetIssued("1");//CUSTOM_CONVENTION//sourceId:1203525_1_51035
            implementTopMidBasicGuideStepRoomReqDto.setBatchOperateScene("TOP");//sourceId:1203522_1_51035
            if (reqDto != null) {
                implementTopMidBasicGuideStepRoomReqDto.setWeightSetWay(reqDto.getWeightSetWay());//SimpleFieldAssign//sourceId:1203523_1_51035
            }

            /*D3执行高层导向步骤房间[7600]   */
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getNotarizeTargetIssued(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层导向步骤房间-确认目标任务下发 不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getBatchOperateScene(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层导向步骤房间-高/中/基层操作场景不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getWeightSetWay(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层导向步骤房间-权重设置方式不能为空", false);
            implementTopMidBasicGuideStepRoomRespDto = fwAppEvaSystemClient.implementTopMidBasicGuideStepRoom(implementTopMidBasicGuideStepRoomReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementTopMidBasicGuideStepRoomRespDto_1 = implementTopMidBasicGuideStepRoomRespDto;
            ImplementTopMidBasicCurrentBstepJudgeComRespDto implementTopMidBasicCurrentBstepJudgeComRespDto = null;
            if (implementTopMidBasicGuideStepRoomRespDto != null) {
                ImplementTopMidBasicCurrentBstepJudgeComReqDto implementTopMidBasicCurrentBstepJudgeComReqDto = new ImplementTopMidBasicCurrentBstepJudgeComReqDto();
                implementTopMidBasicCurrentBstepJudgeComReqDto.setBatchOperateScene("TOP");//sourceId:1089807_1_47709
                if (reqDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setEntityId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1089788_1_47709
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1089790_1_47709
                }
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:1089794_1_47709
                }

                /*D3执行高层当前步骤判断(公共)[7303]   */
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getEntityId(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层当前步骤判断(公共)-步骤内容实例ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getStepRoomValue(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层当前步骤判断(公共)-进入步骤房间值不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getThemeContentId(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层当前步骤判断(公共)-主题内容ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getBatchOperateScene(), "B3-3高层下发部门目标任务书指标(管理)-D3执行高层当前步骤判断(公共)-高/中/基层操作场景不能为空", false);
                implementTopMidBasicCurrentBstepJudgeComRespDto = fwAppOffStateClient.implementTopMidBasicCurrentBstepJudgeCom(implementTopMidBasicCurrentBstepJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            if ((implementTopMidBasicCurrentBstepJudgeComRespDto != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse() != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse().equals("FALSE"))) {
                //if(D3执行高层当前步骤判断(公共).是否相等 等于 否)  47711

                BatchIssuedDeptObjMisStaRespDto batchIssuedDeptObjMisStaRespDto = null;
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    BatchIssuedDeptObjMisStaReqDto batchIssuedDeptObjMisStaReqDto = new BatchIssuedDeptObjMisStaReqDto();
                    batchIssuedDeptObjMisStaReqDto.setUseTypeCode("USE_ISSUE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1079429_1_47712
                    if (reqDto != null) {
                        batchIssuedDeptObjMisStaReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:846697_1_47712
                        batchIssuedDeptObjMisStaReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:846698_1_47712
                        batchIssuedDeptObjMisStaReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:846700_1_47712
                        batchIssuedDeptObjMisStaReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:1062454_1_47712
                        batchIssuedDeptObjMisStaReqDto.setWeightSetWay(reqDto.getWeightSetWay());//SimpleFieldAssign//sourceId:1062455_1_47712
                    }
                    if (implementTopMidBasicGuideStepRoomRespDto != null) {
                        batchIssuedDeptObjMisStaReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:846699_1_47712
                    }

                    /*D3-3高层下发部门目标任务书指标[2663]   */
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getTargetId(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-冗余目标ID不能为空", false);
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getEvaluationTemplateId(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-冗余评价模板ID不能为空", false);
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getStepRoomValue(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-进入步骤房间值不能为空", false);
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getBatchCode(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-统一管理批次批次标识不能为空", false);
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getBatchCurrentStatus(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-批次现状不能为空", false);
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getWeightSetWay(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-前端权重设置方式不能为空", false);
                    Assert.isNull(batchIssuedDeptObjMisStaReqDto.getUseTypeCode(), "B3-3高层下发部门目标任务书指标(管理)-D3-3高层下发部门目标任务书指标-用途类型编码不能为空", false);
                    batchIssuedDeptObjMisStaRespDto = fwAppEvaSystemClient.batchIssuedDeptObjMisSta(batchIssuedDeptObjMisStaReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                ImplementConcBhvThemeLockComComRespDto implementConcBhvThemeLockComComRespDto_2 = null;
                ImplementConcBhvThemeLockComComReqDto implementConcBhvThemeLockComComReqDto_1 = new ImplementConcBhvThemeLockComComReqDto();
                implementConcBhvThemeLockComComReqDto_1.setPreventConcurrentLockingUnlocking("UNLOCK");//sourceId:1540055_1_61103
                implementConcBhvThemeLockComComReqDto_1.setBehaviorThemeLockCode("TOP_MID_BASIC_STEP_CHANGE_SWIPES");//sourceId:1540056_1_61103
                implementConcBhvThemeLockComComReqDto_1.setWhetherUnlockBulk("FALSE");//sourceId:1540058_1_61103
                if (reqDto != null) {
                    implementConcBhvThemeLockComComReqDto_1.setCommPrimaryKey(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1540057_1_61103
                }

                /*D2执行并发行为主题解锁(公共)[8388]   */
                Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getPreventConcurrentLockingUnlocking(), "B3-3高层下发部门目标任务书指标(管理)-D2执行并发行为主题解锁(公共)-防并发上锁or解锁不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getBehaviorThemeLockCode(), "B3-3高层下发部门目标任务书指标(管理)-D2执行并发行为主题解锁(公共)-行为主题锁不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getCommPrimaryKey(), "B3-3高层下发部门目标任务书指标(管理)-D2执行并发行为主题解锁(公共)-通用主键ID不能为空", false);
                Assert.isNull(implementConcBhvThemeLockComComReqDto_1.getWhetherUnlockBulk(), "B3-3高层下发部门目标任务书指标(管理)-D2执行并发行为主题解锁(公共)-是否批量解锁不能为空", false);
                implementConcBhvThemeLockComComRespDto_2 = fwCompInterfaceModeClient.implementConcBhvThemeLockComCom(implementConcBhvThemeLockComComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            } else if ((implementTopMidBasicCurrentBstepJudgeComRespDto != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse() != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse().equals("TRUE"))) {
                //elseif(D3执行高层当前步骤判断(公共).是否相等 等于 是)  61104

//异常结束 61105
                throw new BizException("B10100289", "对不起！当前房间已变化，请刷新页面~", false);
            }
        } else if ((implementConcBhvThemeLockComComRespDto != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations() != null && implementConcBhvThemeLockComComRespDto.getPreventConcurrentLockingSituations().equals("CONCURRENT_LOCK_FAILURE"))) {
            //elseif(D2执行上并发高中基层步骤变更锁(公共).防并发上锁情况 等于 并发上锁失败)  61101

//异常结束 61102
            throw new BizException("B10100288", "操作过于频繁，请稍后再试~", false);
        }
        BffBatchIssuedDeptObjMisStaRespDto retData = new BffBatchIssuedDeptObjMisStaRespDto();
        if (implementTopMidBasicGuideStepRoomRespDto_1 != null) {
            retData.setStepNameCode(implementTopMidBasicGuideStepRoomRespDto_1.getStepNameCode());//SimpleFieldAssign//sourceId:1203524_1
        }


        return retData;
    }

    /**
     * B3-3查设置建设任务列表(管理)[2541]
     * gen by moon at 12/24/2023, 6:41:17 AM
     */
    @Trace(operationName = "B3-3查设置建设任务列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySetConstructionTaskListRespDto querySetConstructionTaskList(BffQuerySetConstructionTaskListReqDto reqDto) {


        QueryTopPlanConstructionTaskListRespDto queryTopPlanConstructionTaskListRespDto_1 = null;
        BatchQuerySetConstructionTaskWeightComRespDto batchQuerySetConstructionTaskWeightComRespDto_1 = null;
        BatchQueryDeptListRespDto batchQueryDeptListRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_3 = null;
//步骤0: D3-3查高层建设任务列表(管理) - queryTopPlanConstructionTaskList
        QueryTopPlanConstructionTaskListRespDto queryTopPlanConstructionTaskListRespDto = null;
        QueryTopPlanConstructionTaskListReqDto queryTopPlanConstructionTaskListReqDto = new QueryTopPlanConstructionTaskListReqDto();
        if (reqDto != null) {
            queryTopPlanConstructionTaskListReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:93590_1
        }

        /*D3-3查高层建设任务列表(管理)[2887]   */
        Assert.isNull(queryTopPlanConstructionTaskListReqDto.getTargetId(), "B3-3查设置建设任务列表(管理)-D3-3查高层建设任务列表(管理)-冗余目标ID不能为空", false);
        queryTopPlanConstructionTaskListRespDto = fwAppEvaSystemClient.queryTopPlanConstructionTaskList(queryTopPlanConstructionTaskListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryTopPlanConstructionTaskListRespDto_1 = queryTopPlanConstructionTaskListRespDto;

//步骤1: D3-3批量查询设置建设任务权重(公共) - batchQuerySetConstructionTaskWeightCom
        BatchQuerySetConstructionTaskWeightComRespDto batchQuerySetConstructionTaskWeightComRespDto = null;
        if (queryTopPlanConstructionTaskListRespDto != null) {
            BatchQuerySetConstructionTaskWeightComReqDto batchQuerySetConstructionTaskWeightComReqDto = new BatchQuerySetConstructionTaskWeightComReqDto();
            if (queryTopPlanConstructionTaskListRespDto != null && queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList() != null && !CollectionUtil.isEmpty(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList())) {
                batchQuerySetConstructionTaskWeightComReqDto.setEvaObjTargetCycleList(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList().stream().map(item -> item.getTargetCategoryId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:456871_1
            }
            if (reqDto != null) {
                batchQuerySetConstructionTaskWeightComReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:456872_1
            }

            /*D3-3批量查询设置建设任务权重(公共)[5286]   */
            Assert.isNull(batchQuerySetConstructionTaskWeightComReqDto.getEvaObjTypeCode(), "B3-3查设置建设任务列表(管理)-D3-3批量查询设置建设任务权重(公共)-被评对象类型编码不能为空", false);
            batchQuerySetConstructionTaskWeightComRespDto = fwAppEvaSystemClient.batchQuerySetConstructionTaskWeightCom(batchQuerySetConstructionTaskWeightComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQuerySetConstructionTaskWeightComRespDto_1 = batchQuerySetConstructionTaskWeightComRespDto;
        }

//步骤2: D1-3批量查询部门列表	 - batchQueryDeptList
        BatchQueryDeptListRespDto batchQueryDeptListRespDto = null;
        if (queryTopPlanConstructionTaskListRespDto != null) {
            BatchQueryDeptListReqDto batchQueryDeptListReqDto = new BatchQueryDeptListReqDto();
            if (queryTopPlanConstructionTaskListRespDto != null && queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList() != null && !CollectionUtil.isEmpty(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList())) {
                batchQueryDeptListReqDto.setDeptList(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList().stream().map(item -> item.getDeptId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:92310_1
            }

            /*D1-3批量查询牵头部门列表[1182]   */

            batchQueryDeptListRespDto = fwBaseOrgClient.batchQueryDeptList(batchQueryDeptListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptListRespDto_1 = batchQueryDeptListRespDto;
        }

//步骤3: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryTopPlanConstructionTaskListRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryTopPlanConstructionTaskListRespDto != null && queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList() != null && !CollectionUtil.isEmpty(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList())) {
                // TODO: 2022/12/13 三元判断不合
                batchQueryUserinfoReqDto.setUserinfoList(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList().stream().map(item -> item.getPersonLiableUserId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:92327_1
            }

            /*D1-2批量查询责任人个人资料列表[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤4: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_2 = null;
        if (queryTopPlanConstructionTaskListRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto_1 = new BatchQueryUserinfoReqDto();
            if (queryTopPlanConstructionTaskListRespDto != null && queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList() != null && !CollectionUtil.isEmpty(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList())) {
                // TODO: 2022/12/13 三元判断不合
                batchQueryUserinfoReqDto_1.setUserinfoList(queryTopPlanConstructionTaskListRespDto.getSetConstructionTaskList().stream().map(item -> item.getDeptLeaderUserId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:92329_1
            }

            /*D1-2批量查询分管领导个人资料列表[1020]   */

            batchQueryUserinfoRespDto_2 = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_3 = batchQueryUserinfoRespDto_2;
        }

        BffQuerySetConstructionTaskListRespDto retData = new BffQuerySetConstructionTaskListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryTopPlanConstructionTaskListRespDto_1 != null && !CollectionUtil.isEmpty(queryTopPlanConstructionTaskListRespDto_1.getSetConstructionTaskList())) {
            for (SetConstructionTaskDto setConstructionTaskDto : queryTopPlanConstructionTaskListRespDto_1.getSetConstructionTaskList()) {
                BffSetConstructionTaskDto retElm = new BffSetConstructionTaskDto();
                if (queryTopPlanConstructionTaskListRespDto_1 != null) {
                    retElm.setTargetCategoryId(setConstructionTaskDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:52553_2
                    retElm.setParentTtargetCategoryId(setConstructionTaskDto.getParentTtargetCategoryId());//SimpleFieldAssign//sourceId:52555_2
                    retElm.setParentTargetCategoryName(setConstructionTaskDto.getParentTargetCategoryName());//SimpleFieldAssign//sourceId:114543_2
                    retElm.setTargetCategoryCode(setConstructionTaskDto.getTargetCategoryCode());//SimpleFieldAssign//sourceId:52554_2
                    retElm.setTargetCategoryNumber(setConstructionTaskDto.getTargetCategoryNumber());//SimpleFieldAssign//sourceId:52556_2
                    retElm.setTargetCategoryName(setConstructionTaskDto.getTargetCategoryName());//SimpleFieldAssign//sourceId:114544_2
                    retElm.setTargetCategoryDescribe(setConstructionTaskDto.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:52558_2
                    retElm.setTargetCategoryRemarks(setConstructionTaskDto.getTargetCategoryRemarks());//SimpleFieldAssign//sourceId:52559_2
                    retElm.setIsUseBudget(setConstructionTaskDto.getIsUseBudget());//SimpleFieldAssign//sourceId:255487_2
                    retElm.setIsLast(setConstructionTaskDto.getIsLast());//SimpleFieldAssign//sourceId:52560_2
                    retElm.setRootTargetCategoryId(setConstructionTaskDto.getRootTargetCategoryId());//SimpleFieldAssign//sourceId:52561_2
                    retElm.setPeriodicModeTypeCode(setConstructionTaskDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:52562_2
                    retElm.setTargetId(setConstructionTaskDto.getTargetId());//SimpleFieldAssign//sourceId:61868_2
                    retElm.setLevelNumber(setConstructionTaskDto.getLevelNumber());//SimpleFieldAssign//sourceId:52565_2
                    retElm.setIsComplete(setConstructionTaskDto.getIsComplete());//SimpleFieldAssign//sourceId:52566_2
                    retElm.setDeptId(setConstructionTaskDto.getDeptId());//SimpleFieldAssign//sourceId:52569_2
                    retElm.setVirtualOrgDeptStatus(setConstructionTaskDto.getVirtualOrgDeptStatus());//SimpleFieldAssign//sourceId:52771_2
                    retElm.setPersonLiableUserId(setConstructionTaskDto.getPersonLiableUserId());//SimpleFieldAssign//sourceId:52570_2
                    retElm.setPersonLiableName(setConstructionTaskDto.getPersonLiableName());//SimpleFieldAssign//sourceId:52571_2
                    retElm.setDeptLeaderUserId(setConstructionTaskDto.getDeptLeaderUserId());//SimpleFieldAssign//sourceId:52572_2
                    retElm.setDeptLeaderPostName(setConstructionTaskDto.getDeptLeaderPostName());//SimpleFieldAssign//sourceId:52573_2
                    retElm.setSubjectLifeCycle(setConstructionTaskDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:53519_2
                    retElm.setOrderNumber(setConstructionTaskDto.getOrderNumber());//SimpleFieldAssign//sourceId:248486_2
                    retElm.setDutyBodyOrderNum(setConstructionTaskDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248487_2
                    retElm.setPersonalOrderNumber(setConstructionTaskDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248488_2
                    retElm.setWeightOrderNumber(setConstructionTaskDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248489_2
                    retElm.setCreateTime(setConstructionTaskDto.getCreateTime());//SimpleFieldAssign//sourceId:248490_2
                    retElm.setOperateTime(setConstructionTaskDto.getOperateTime());//SimpleFieldAssign//sourceId:248491_2
                }
                retData.getSetConstructionTaskList().add(retElm);
                if (batchQuerySetConstructionTaskWeightComRespDto_1 != null) {
                    for (EvaObjTargetCycleDto evaObjTargetCycleDto : batchQuerySetConstructionTaskWeightComRespDto_1.getEvaObjTargetCycleList()) {
                        if (evaObjTargetCycleDto.getTargetCycleContentId().equals(setConstructionTaskDto.getTargetCategoryId())) {
                            if (batchQuerySetConstructionTaskWeightComRespDto_1 != null) {
                                retElm.setEvaObjTargetCycleId(evaObjTargetCycleDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:122995_2
                                retElm.setWeightValue(evaObjTargetCycleDto.getWeightValue());//SimpleFieldAssign//sourceId:122996_2
                                retElm.setWeightScore(evaObjTargetCycleDto.getWeightScore());//SimpleFieldAssign//sourceId:122997_2
                            }
                        }
                    }
                }

                if (batchQueryDeptListRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptListRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(setConstructionTaskDto.getDeptId())) {
                            if (batchQueryDeptListRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:52576_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(setConstructionTaskDto.getPersonLiableUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setPersonLiableIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:52574_2
                                retElm.setPersonLiableNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:52575_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_3 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_3.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(setConstructionTaskDto.getDeptLeaderUserId())) {
                            if (batchQueryUserinfoRespDto_3 != null) {
                                retElm.setDeptLeaderIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:52577_2
                                retElm.setDeptLeaderNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:52578_2
                            }
                        }
                    }
                }

            }
        }//sourceId:93594_1


        List<Object> allNodes = new ArrayList<>();
        allNodes.addAll(retData.getSetConstructionTaskList());
        List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
        retData.setTreeNode(nodeList);
        retData.setSetConstructionTaskList(null);

        return retData;
    }

    /**
     * B3-3查询管理模式高层切换部门菜单列表(管理)[2678]
     * gen by moon at 6/4/2023, 3:24:45 AM
     */
    @Trace(operationName = "B3-3查询管理模式高层切换部门菜单列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTopPlanSwitchDeptMenuMgtListRespDto queryTopPlanSwitchDeptMenuMgtList(BffQueryTopPlanSwitchDeptMenuMgtListReqDto reqDto) {


        QueryTopPlanSwitchDeptMenuListRespDto queryTopPlanSwitchDeptMenuListRespDto_1 = null;
        BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 = null;
//步骤0: D3-2查评价模板详情 - queryEvaTempDetail
        QueryEvaTempDetailRespDto queryEvaTempDetailRespDto = null;
        QueryEvaTempDetailReqDto queryEvaTempDetailReqDto = new QueryEvaTempDetailReqDto();
        if (reqDto != null) {
            queryEvaTempDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:424513_1
        }

        /*D3-2查评价模板详情[3062]   */
        Assert.isNull(queryEvaTempDetailReqDto.getEvaluationTemplateId(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-2查评价模板详情-评价模板ID不能为空", false);
        queryEvaTempDetailRespDto = fwAppEvaThemeClient.queryEvaTempDetail(queryEvaTempDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//步骤1: D3-3查询目标被评对象目标父周期(公共) - queryTargetEvaCycleParentCycleDetailCom
        QueryTargetEvaCycleParentCycleDetailComRespDto queryTargetEvaCycleParentCycleDetailComRespDto = null;
        if (queryEvaTempDetailRespDto != null) {
            QueryTargetEvaCycleParentCycleDetailComReqDto queryTargetEvaCycleParentCycleDetailComReqDto = new QueryTargetEvaCycleParentCycleDetailComReqDto();
            queryTargetEvaCycleParentCycleDetailComReqDto.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:488905_1
            queryTargetEvaCycleParentCycleDetailComReqDto.setEvaObjTableTypeCode("OMS_FRAMEWORK_SPACE");//sourceId:488906_1
            queryTargetEvaCycleParentCycleDetailComReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:488907_1
            queryTargetEvaCycleParentCycleDetailComReqDto.setTreeTypeCode("PLAN_TREE");//sourceId:488908_1
            if (queryEvaTempDetailRespDto != null) {
                queryTargetEvaCycleParentCycleDetailComReqDto.setTargetId(queryEvaTempDetailRespDto.getTargetId());//SimpleFieldAssign//sourceId:488909_1
            }
            if (reqDto != null) {
                queryTargetEvaCycleParentCycleDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:488910_1
            }

            /*D3-3查询目标被评对象目标父周期(公共)[5402]   */
            Assert.isNull(queryTargetEvaCycleParentCycleDetailComReqDto.getEvaObjEntityId(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查询目标被评对象目标父周期(公共)-被评对象内容表主键ID不能为空", false);
            Assert.isNull(queryTargetEvaCycleParentCycleDetailComReqDto.getEvaObjTableTypeCode(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查询目标被评对象目标父周期(公共)-被评对象内容表类型编码不能为空", false);
            Assert.isNull(queryTargetEvaCycleParentCycleDetailComReqDto.getEvaObjTypeCode(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查询目标被评对象目标父周期(公共)-被评对象类型编码不能为空", false);
            Assert.isNull(queryTargetEvaCycleParentCycleDetailComReqDto.getTreeTypeCode(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查询目标被评对象目标父周期(公共)-树类型编码不能为空", false);
            Assert.isNull(queryTargetEvaCycleParentCycleDetailComReqDto.getTargetId(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查询目标被评对象目标父周期(公共)-目标ID不能为空", false);
            Assert.isNull(queryTargetEvaCycleParentCycleDetailComReqDto.getEvaluationTemplateId(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查询目标被评对象目标父周期(公共)-冗余评价模板ID不能为空", false);
            queryTargetEvaCycleParentCycleDetailComRespDto = fwAppTargetCycleClient.queryTargetEvaCycleParentCycleDetailCom(queryTargetEvaCycleParentCycleDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤2: D3-3查高层切换部门菜单列表 - queryTopPlanSwitchDeptMenuList
        QueryTopPlanSwitchDeptMenuListRespDto queryTopPlanSwitchDeptMenuListRespDto = null;
        if (queryTargetEvaCycleParentCycleDetailComRespDto != null) {
            QueryTopPlanSwitchDeptMenuListReqDto queryTopPlanSwitchDeptMenuListReqDto = new QueryTopPlanSwitchDeptMenuListReqDto();
            queryTopPlanSwitchDeptMenuListReqDto.setIsParentCycle("TRUE");//sourceId:380548_1
            queryTopPlanSwitchDeptMenuListReqDto.setIsArchive("FALSE");//sourceId:82871_1
            queryTopPlanSwitchDeptMenuListReqDto.setArchivngType("NOT_ARCHIVE");//sourceId:115930_1
            if (reqDto != null) {
                queryTopPlanSwitchDeptMenuListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:82867_1
            }
            if (queryTargetEvaCycleParentCycleDetailComRespDto != null) {
                queryTopPlanSwitchDeptMenuListReqDto.setCycleId(queryTargetEvaCycleParentCycleDetailComRespDto.getCycleId());//SimpleFieldAssign//sourceId:380557_1
                queryTopPlanSwitchDeptMenuListReqDto.setIsMetaphase(queryTargetEvaCycleParentCycleDetailComRespDto.getIsMetaphase());//SimpleFieldAssign//sourceId:380558_1
                queryTopPlanSwitchDeptMenuListReqDto.setIsSubCycle(queryTargetEvaCycleParentCycleDetailComRespDto.getIsSubCycle());//SimpleFieldAssign//sourceId:380559_1
            }

            /*D3-3查高层切换部门菜单列表[2270]   */
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getEvaluationTemplateId(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-冗余评价模板ID不能为空", false);
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getCycleId(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-周期ID不能为空", false);
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsParentCycle(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-是否父周期不能为空", false);
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsMetaphase(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-是否中期不能为空", false);
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsSubCycle(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-是否子周期不能为空", false);
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getIsArchive(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-是否存档不能为空", false);
            Assert.isNull(queryTopPlanSwitchDeptMenuListReqDto.getArchivngType(), "B3-3查询管理模式高层切换部门菜单列表(管理)-D3-3查高层切换部门菜单列表-存档类型不能为空", false);
            queryTopPlanSwitchDeptMenuListRespDto = fwAppEvaSystemClient.queryTopPlanSwitchDeptMenuList(queryTopPlanSwitchDeptMenuListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
            Assert.isTrue(queryTopPlanSwitchDeptMenuListRespDto == null || queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList() == null || CollectionUtil.isEmpty(queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList()) || queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList().size() == 0, "找不到数据，系统异常", false);

            queryTopPlanSwitchDeptMenuListRespDto_1 = queryTopPlanSwitchDeptMenuListRespDto;
        }

//步骤3: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
        BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
        if (queryTopPlanSwitchDeptMenuListRespDto != null) {
            BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto = new BatchQueryDeptComBorderReqDto();
            if (queryTopPlanSwitchDeptMenuListRespDto != null && queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList() != null && !CollectionUtil.isEmpty(queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList())) {
                batchQueryDeptComBorderReqDto.setDeptList(queryTopPlanSwitchDeptMenuListRespDto.getTopPlanSwitchDeptMenuList().stream().map(item -> item.getEvaObjEntityId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:82894_1
            }

            /*D1-3批量查部门(公共)(边界)[2568]   */

            batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
        }

        BffQueryTopPlanSwitchDeptMenuMgtListRespDto retData = new BffQueryTopPlanSwitchDeptMenuMgtListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryTopPlanSwitchDeptMenuListRespDto_1 != null && !CollectionUtil.isEmpty(queryTopPlanSwitchDeptMenuListRespDto_1.getTopPlanSwitchDeptMenuList())) {
            for (TopPlanSwitchDeptMenuDto topPlanSwitchDeptMenuDto : queryTopPlanSwitchDeptMenuListRespDto_1.getTopPlanSwitchDeptMenuList()) {
                BffTopPlanSwitchDeptMenuDto retElm = new BffTopPlanSwitchDeptMenuDto();
                if (queryTopPlanSwitchDeptMenuListRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(topPlanSwitchDeptMenuDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:46936_2
                    retElm.setEvaObjTargetCycleCode(topPlanSwitchDeptMenuDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:197212_2
                    retElm.setEvaObjEntityId(topPlanSwitchDeptMenuDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:46937_2
                    retElm.setEvaObjTableTypeCode(topPlanSwitchDeptMenuDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:46938_2
                    retElm.setEvaObjTypeCode(topPlanSwitchDeptMenuDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:46939_2
                    retElm.setTreeTypeCode(topPlanSwitchDeptMenuDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:46941_2
                    retElm.setTargetCycleContentTypeCode(topPlanSwitchDeptMenuDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:88970_2
                    retElm.setTargetCycleContentId(topPlanSwitchDeptMenuDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:46940_2
                    retElm.setEvaluationTemplateId(topPlanSwitchDeptMenuDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:46947_2
                    retElm.setBatchCode(topPlanSwitchDeptMenuDto.getBatchCode());//SimpleFieldAssign//sourceId:46953_2
                    retElm.setIsComplete(topPlanSwitchDeptMenuDto.getIsComplete());//SimpleFieldAssign//sourceId:119607_2
                }
                retData.getTopPlanSwitchDeptMenuList().add(retElm);
                if (batchQueryDeptComBorderRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(topPlanSwitchDeptMenuDto.getEvaObjEntityId())) {
                            if (batchQueryDeptComBorderRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:46948_2
                            }
                        }
                    }
                }

            }
        }//sourceId:82895_1
        if (queryTopPlanSwitchDeptMenuListRespDto_1 != null) {
            retData.setEndValue(queryTopPlanSwitchDeptMenuListRespDto_1.getEndValue());//SimpleFieldAssign//sourceId:347462_1
            retData.setAlreadyAccomplishNum(queryTopPlanSwitchDeptMenuListRespDto_1.getAlreadyAccomplishNum());//SimpleFieldAssign//sourceId:430654_1
            retData.setCalcCount(queryTopPlanSwitchDeptMenuListRespDto_1.getCalcCount());//SimpleFieldAssign//sourceId:430655_1
            retData.setIsAllArrangeAccomplish(queryTopPlanSwitchDeptMenuListRespDto_1.getIsAllArrangeAccomplish());//SimpleFieldAssign//sourceId:431184_1
        }


        return retData;
    }

    /**
     * B3-3查目标分工详情(管理)[2899]
     * gen by moon at 9/21/2023, 12:48:13 PM
     */
    @Trace(operationName = "B3-3查目标分工详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryObjDivisionLaborDetailRespDto queryObjDivisionLaborDetail(BffQueryObjDivisionLaborDetailReqDto reqDto) {


        QueryObjDivisionLaborDetailRespDto queryObjDivisionLaborDetailRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 = null;
//步骤0: D3-3查目标分工详情(管理) - queryObjDivisionLaborDetail
        QueryObjDivisionLaborDetailRespDto queryObjDivisionLaborDetailRespDto = null;
        QueryObjDivisionLaborDetailReqDto queryObjDivisionLaborDetailReqDto = new QueryObjDivisionLaborDetailReqDto();
        if (reqDto != null) {
            queryObjDivisionLaborDetailReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:94304_1
            queryObjDivisionLaborDetailReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:115613_1
        }

        /*D3-3查目标分工详情(管理)[2894]   */
        Assert.isNull(queryObjDivisionLaborDetailReqDto.getObjectiveId(), "B3-3查目标分工详情(管理)-D3-3查目标分工详情(管理)-指标ID不能为空", false);
        Assert.isNull(queryObjDivisionLaborDetailReqDto.getTargetId(), "B3-3查目标分工详情(管理)-D3-3查目标分工详情(管理)-冗余目标ID不能为空", false);
        queryObjDivisionLaborDetailRespDto = fwAppEvaSystemClient.queryObjDivisionLaborDetail(queryObjDivisionLaborDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryObjDivisionLaborDetailRespDto_1 = queryObjDivisionLaborDetailRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryObjDivisionLaborDetailRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryObjDivisionLaborDetailRespDto != null && queryObjDivisionLaborDetailRespDto.getObjDivisionLaborList() != null && !CollectionUtil.isEmpty(queryObjDivisionLaborDetailRespDto.getObjDivisionLaborList())) {
                batchQueryUserinfoReqDto.setUserinfoList(queryObjDivisionLaborDetailRespDto.getObjDivisionLaborList().stream().map(item -> item.getUserId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:94340_1
            }

            /*D1-2批量查询个人资料列表[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤2: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
        if (queryObjDivisionLaborDetailRespDto != null) {
            QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto = new QueryDeptDetailComBorderReqDto();
            if (queryObjDivisionLaborDetailRespDto != null) {
                queryDeptDetailComBorderReqDto.setDeptId(queryObjDivisionLaborDetailRespDto.getDeptId());//SimpleFieldAssign//sourceId:93104_1
            }

            /*D1-3查询部门详情(公共)(边界)[2691]   */

            queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
        }

        BffQueryObjDivisionLaborDetailRespDto retData = new BffQueryObjDivisionLaborDetailRespDto();
        //数据集融合  MoreListToOneSource
        if (queryObjDivisionLaborDetailRespDto_1 != null && !CollectionUtil.isEmpty(queryObjDivisionLaborDetailRespDto_1.getObjDivisionLaborList())) {
            for (ObjDivisionLaborDto objDivisionLaborDto : queryObjDivisionLaborDetailRespDto_1.getObjDivisionLaborList()) {
                BffVirtualOrgMemberDto retElm = new BffVirtualOrgMemberDto();
                if (queryObjDivisionLaborDetailRespDto_1 != null) {
                    retElm.setRoleCode(objDivisionLaborDto.getRoleCode());//SimpleFieldAssign//sourceId:144884_2
                    retElm.setVirtualOrganizationPosition(objDivisionLaborDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:144885_2
                    retElm.setVirtualOrgInductionRecordId(objDivisionLaborDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:144886_2
                    retElm.setUserId(objDivisionLaborDto.getUserId());//SimpleFieldAssign//sourceId:144887_2
                }
                retData.getVirtualOrgMemberList().add(retElm);
                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(objDivisionLaborDto.getUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:144890_2
                                retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:144888_2
                                retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:144889_2
                            }
                        }
                    }
                }

            }
        }//sourceId:579277_1
        if (queryObjDivisionLaborDetailRespDto_1 != null) {
            retData.setObjectiveId(queryObjDivisionLaborDetailRespDto_1.getObjectiveId());//SimpleFieldAssign//sourceId:94322_1
            retData.setObjectiveNumber(queryObjDivisionLaborDetailRespDto_1.getObjectiveNumber());//SimpleFieldAssign//sourceId:94323_1
            retData.setObjectiveName(queryObjDivisionLaborDetailRespDto_1.getObjectiveName());//SimpleFieldAssign//sourceId:94325_1
            retData.setObjectiveShortName(queryObjDivisionLaborDetailRespDto_1.getObjectiveShortName());//SimpleFieldAssign//sourceId:94326_1
            retData.setRemark(queryObjDivisionLaborDetailRespDto_1.getRemark());//SimpleFieldAssign//sourceId:94327_1
            retData.setWeightValue(queryObjDivisionLaborDetailRespDto_1.getWeightValue());//SimpleFieldAssign//sourceId:571382_1
            retData.setWeightScore(queryObjDivisionLaborDetailRespDto_1.getWeightScore());//SimpleFieldAssign//sourceId:571383_1
            retData.setTargetValue(queryObjDivisionLaborDetailRespDto_1.getTargetValue());//SimpleFieldAssign//sourceId:571385_1
            retData.setTargetDiagnosticValue(queryObjDivisionLaborDetailRespDto_1.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:571384_1
            retData.setCycleStandardName(queryObjDivisionLaborDetailRespDto_1.getCycleStandardName());//SimpleFieldAssign//sourceId:94330_1
            retData.setDeptId(queryObjDivisionLaborDetailRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:94335_1
            retData.setVirtualOrgDeptStatus(queryObjDivisionLaborDetailRespDto_1.getVirtualOrgDeptStatus());//SimpleFieldAssign//sourceId:94336_1
            retData.setEvaObjEntityId(queryObjDivisionLaborDetailRespDto_1.getEvaObjEntityId());//SimpleFieldAssign//sourceId:115868_1
            retData.setEvaObjTableTypeCode(queryObjDivisionLaborDetailRespDto_1.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:115869_1
            retData.setEvaObjTypeCode(queryObjDivisionLaborDetailRespDto_1.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:115870_1
            retData.setTargetCycleContentId(queryObjDivisionLaborDetailRespDto_1.getTargetCycleContentId());//SimpleFieldAssign//sourceId:115871_1
            retData.setTargetCycleContentTypeCode(queryObjDivisionLaborDetailRespDto_1.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:115872_1
            retData.setTargetId(queryObjDivisionLaborDetailRespDto_1.getTargetId());//SimpleFieldAssign//sourceId:115873_1
        }
        if (queryDeptDetailComBorderRespDto_1 != null) {
            retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:94324_1
        }


        return retData;
    }

    /**
     * B3-3查设置建设任务详情(管理)[2926]
     * gen by moon at 1/4/2023, 1:46:17 PM
     */
    @Trace(operationName = "B3-3查设置建设任务详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySetConstructionTaskDetailRespDto querySetConstructionTaskDetail(BffQuerySetConstructionTaskDetailReqDto reqDto) {


        QuerySetConstructionTaskDetailRespDto querySetConstructionTaskDetailRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 = null;
//步骤0: D3-3查设置建设任务详情(管理) - querySetConstructionTaskDetail
        QuerySetConstructionTaskDetailRespDto querySetConstructionTaskDetailRespDto = null;
        QuerySetConstructionTaskDetailReqDto querySetConstructionTaskDetailReqDto = new QuerySetConstructionTaskDetailReqDto();
        if (reqDto != null) {
            querySetConstructionTaskDetailReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:94048_1
            querySetConstructionTaskDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:482826_1
        }

        /*D3-3查设置建设任务详情(管理)[2920]   */
        Assert.isNull(querySetConstructionTaskDetailReqDto.getTargetCategoryId(), "B3-3查设置建设任务详情(管理)-D3-3查设置建设任务详情(管理)-目标分类ID不能为空", false);
        Assert.isNull(querySetConstructionTaskDetailReqDto.getEvaluationTemplateId(), "B3-3查设置建设任务详情(管理)-D3-3查设置建设任务详情(管理)-冗余评价模板ID不能为空", false);
        querySetConstructionTaskDetailRespDto = fwAppEvaSystemClient.querySetConstructionTaskDetail(querySetConstructionTaskDetailReqDto).getData();


        querySetConstructionTaskDetailRespDto_1 = querySetConstructionTaskDetailRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (querySetConstructionTaskDetailRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (querySetConstructionTaskDetailRespDto != null) {
                batchQueryUserinfoReqDto.setUserinfoList(querySetConstructionTaskDetailRespDto.getConstructionTaskMemberList().stream().map(item -> item.getUserId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:94116_1
            }

            /*D1-2批量查询个人资料列表[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData();


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤2: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
        if (querySetConstructionTaskDetailRespDto != null) {
            QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto = new QueryDeptDetailComBorderReqDto();
            if (querySetConstructionTaskDetailRespDto != null) {
                queryDeptDetailComBorderReqDto.setDeptId(querySetConstructionTaskDetailRespDto.getDeptId());//SimpleFieldAssign//sourceId:94111_1
            }

            /*D1-3查询部门详情(公共)(边界)[2691]   */

            queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData();


            queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
        }

        BffQuerySetConstructionTaskDetailRespDto retData = new BffQuerySetConstructionTaskDetailRespDto();
        //数据集融合  MoreListToOneSource
        if (querySetConstructionTaskDetailRespDto_1 != null && !CollectionUtil.isEmpty(querySetConstructionTaskDetailRespDto_1.getConstructionTaskMemberList())) {
            for (ConstructionTaskMemberDto constructionTaskMemberDto : querySetConstructionTaskDetailRespDto_1.getConstructionTaskMemberList()) {
                BffVirtualOrgMemberDto retElm = new BffVirtualOrgMemberDto();
                if (querySetConstructionTaskDetailRespDto_1 != null) {
                    retElm.setRoleCode(constructionTaskMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:144891_2
                    retElm.setVirtualOrganizationPosition(constructionTaskMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:144892_2
                    retElm.setVirtualOrgInductionRecordId(constructionTaskMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:144893_2
                    retElm.setUserId(constructionTaskMemberDto.getUserId());//SimpleFieldAssign//sourceId:144894_2
                }
                retData.getVirtualOrgMemberList().add(retElm);
                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(constructionTaskMemberDto.getUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:144895_2
                                retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:144896_2
                                retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:144897_2
                            }
                        }
                    }
                }

            }
        }//sourceId:579278_1
        if (querySetConstructionTaskDetailRespDto_1 != null) {
            retData.setTargetCategoryId(querySetConstructionTaskDetailRespDto_1.getTargetCategoryId());//SimpleFieldAssign//sourceId:94063_1
            retData.setTargetCategoryNumber(querySetConstructionTaskDetailRespDto_1.getTargetCategoryNumber());//SimpleFieldAssign//sourceId:94064_1
            retData.setTargetCategoryName(querySetConstructionTaskDetailRespDto_1.getTargetCategoryName());//SimpleFieldAssign//sourceId:94065_1
            retData.setTargetCategoryDescribe(querySetConstructionTaskDetailRespDto_1.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:94066_1
            retData.setTargetCategoryRemarks(querySetConstructionTaskDetailRespDto_1.getTargetCategoryRemarks());//SimpleFieldAssign//sourceId:94067_1
            retData.setCycleId(querySetConstructionTaskDetailRespDto_1.getCycleId());//SimpleFieldAssign//sourceId:115287_1
            retData.setCycleStandardName(querySetConstructionTaskDetailRespDto_1.getCycleStandardName());//SimpleFieldAssign//sourceId:94069_1
            retData.setDeptId(querySetConstructionTaskDetailRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:94070_1
            retData.setDeptPostName(querySetConstructionTaskDetailRespDto_1.getDeptPostName());//SimpleFieldAssign//sourceId:94071_1
            retData.setWeightValue(querySetConstructionTaskDetailRespDto_1.getWeightValue());//SimpleFieldAssign//sourceId:571390_1
            retData.setWeightScore(querySetConstructionTaskDetailRespDto_1.getWeightScore());//SimpleFieldAssign//sourceId:571391_1
            retData.setEvaObjEntityId(querySetConstructionTaskDetailRespDto_1.getEvaObjEntityId());//SimpleFieldAssign//sourceId:115422_1
            retData.setEvaObjTableTypeCode(querySetConstructionTaskDetailRespDto_1.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:115423_1
            retData.setEvaObjTypeCode(querySetConstructionTaskDetailRespDto_1.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:115424_1
            retData.setTargetCycleContentId(querySetConstructionTaskDetailRespDto_1.getTargetCycleContentId());//SimpleFieldAssign//sourceId:115425_1
            retData.setTargetCycleContentTypeCode(querySetConstructionTaskDetailRespDto_1.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:115426_1
            retData.setTargetId(querySetConstructionTaskDetailRespDto_1.getTargetId());//SimpleFieldAssign//sourceId:115427_1
        }
        if (queryDeptDetailComBorderRespDto_1 != null) {
            retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:94137_1
        }


        return retData;
    }

    /**
     * B3-3查目标分工进展列表(边界)[2953]
     * gen by moon at 10/20/2023, 7:30:29 PM
     */
    @Trace(operationName = "B3-3查目标分工进展列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryObjScheduleListBorderRespDto queryObjScheduleListBorder(BffQueryObjScheduleListBorderReqDto reqDto) {


        BatchQueryObjScheduleBorderRespDto batchQueryObjScheduleBorderRespDto_1 = null;
//步骤0: D3-3批量查目标分工进展(边界) - batchQueryObjScheduleBorder
        BatchQueryObjScheduleBorderRespDto batchQueryObjScheduleBorderRespDto = null;
        BatchQueryObjScheduleBorderReqDto batchQueryObjScheduleBorderReqDto = new BatchQueryObjScheduleBorderReqDto();
        if (reqDto != null) {
            batchQueryObjScheduleBorderReqDto.setEvaObjTargetCycleList(reqDto.getObjScheduleList());//list-field-assign//sourceId:96911_1
            batchQueryObjScheduleBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:424927_1
        }

        /*D3-3批量查目标分工进展(边界)[2946]   */
        Assert.isNull(batchQueryObjScheduleBorderReqDto.getEvaluationTemplateId(), "B3-3查目标分工进展列表(边界)-D3-3批量查目标分工进展(边界)-冗余评价模板ID不能为空", false);
        batchQueryObjScheduleBorderRespDto = fwAppEvaSystemClient.batchQueryObjScheduleBorder(batchQueryObjScheduleBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        batchQueryObjScheduleBorderRespDto_1 = batchQueryObjScheduleBorderRespDto;

        BffQueryObjScheduleListBorderRespDto retData = new BffQueryObjScheduleListBorderRespDto();
        if (batchQueryObjScheduleBorderRespDto_1 != null) {
            retData.setObjScheduleList(batchQueryObjScheduleBorderRespDto_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, BffObjScheduleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:96910_1
            retData.setAssistNodeStatusList(batchQueryObjScheduleBorderRespDto_1.getAssistNodeStatusList().stream().map(item -> BeanUtil.toBean(item, BffAssistNodeStatusDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1193508_1
        }


        return retData;
    }

    /**
     * B3-3查部门目标任务书设权重列表(管理)[2999]
     * gen by moon at 6/3/2023, 8:38:43 PM
     */
    @Trace(operationName = "B3-3查部门目标任务书设权重列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryDeptObjMisStaSetWeightListRespDto queryDeptObjMisStaSetWeightList(BffQueryDeptObjMisStaSetWeightListReqDto reqDto) {


        QueryDeptObjMisStaWeightListRespDto queryDeptObjMisStaWeightListRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_3 = null;
        BatchQueryDeptListRespDto batchQueryDeptListRespDto_1 = null;
        ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColComRespDto_1 = null;
//步骤0: D3-3查询部门目标任务书权重列表 - queryDeptObjMisStaWeightList
        QueryDeptObjMisStaWeightListRespDto queryDeptObjMisStaWeightListRespDto = null;
        QueryDeptObjMisStaWeightListReqDto queryDeptObjMisStaWeightListReqDto = new QueryDeptObjMisStaWeightListReqDto();
        queryDeptObjMisStaWeightListReqDto.setEvaObjTypeCode("FLEVEL_OBJ_TASK_DUTY_DEPT");//sourceId:453692_1
        queryDeptObjMisStaWeightListReqDto.setIsParentCycle("TRUE");//sourceId:453694_1
        queryDeptObjMisStaWeightListReqDto.setIsArchive("FALSE");//sourceId:453696_1
        if (reqDto != null) {
            queryDeptObjMisStaWeightListReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:453690_1
            queryDeptObjMisStaWeightListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:453695_1
        }

        /*D3-3查询部门目标任务书权重列表[5275]   */
        Assert.isNull(queryDeptObjMisStaWeightListReqDto.getEvaObjEntityId(), "B3-3查部门目标任务书设权重列表(管理)-D3-3查询部门目标任务书权重列表-被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryDeptObjMisStaWeightListReqDto.getEvaObjTypeCode(), "B3-3查部门目标任务书设权重列表(管理)-D3-3查询部门目标任务书权重列表-被评对象类型编码不能为空", false);
        Assert.isNull(queryDeptObjMisStaWeightListReqDto.getIsParentCycle(), "B3-3查部门目标任务书设权重列表(管理)-D3-3查询部门目标任务书权重列表-是否父周期不能为空", false);
        Assert.isNull(queryDeptObjMisStaWeightListReqDto.getEvaluationTemplateId(), "B3-3查部门目标任务书设权重列表(管理)-D3-3查询部门目标任务书权重列表-冗余评价模板ID不能为空", false);
        Assert.isNull(queryDeptObjMisStaWeightListReqDto.getIsArchive(), "B3-3查部门目标任务书设权重列表(管理)-D3-3查询部门目标任务书权重列表-是否存档不能为空", false);
        queryDeptObjMisStaWeightListRespDto = fwAppEvaSystemClient.queryDeptObjMisStaWeightList(queryDeptObjMisStaWeightListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryDeptObjMisStaWeightListRespDto_1 = queryDeptObjMisStaWeightListRespDto;

//步骤1: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
        if (queryDeptObjMisStaWeightListRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
            if (queryDeptObjMisStaWeightListRespDto != null && queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList())) {
                batchQueryUserinfoReqDto.setUserinfoList(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList().stream().map(item -> String.valueOf(item.getPersonLiableUserId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:97479_1
            }

            /*D1-2批量查询个人资料列表（查责任人名）[1020]   */

            batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
        }

//步骤2: D1-2批量查询个人资料列表 - batchQueryUserinfo
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_2 = null;
        if (queryDeptObjMisStaWeightListRespDto != null) {
            BatchQueryUserinfoReqDto batchQueryUserinfoReqDto_1 = new BatchQueryUserinfoReqDto();
            if (queryDeptObjMisStaWeightListRespDto != null && queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList())) {
                batchQueryUserinfoReqDto_1.setUserinfoList(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList().stream().map(item -> String.valueOf(item.getDeptLeaderUserId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:97481_1
            }

            /*D1-2批量查询个人资料列表（查分管领导名）[1020]   */

            batchQueryUserinfoRespDto_2 = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryUserinfoRespDto_3 = batchQueryUserinfoRespDto_2;
        }

//步骤3: D1-3批量查询部门列表	 - batchQueryDeptList
        BatchQueryDeptListRespDto batchQueryDeptListRespDto = null;
        if (queryDeptObjMisStaWeightListRespDto != null) {
            BatchQueryDeptListReqDto batchQueryDeptListReqDto = new BatchQueryDeptListReqDto();
            if (queryDeptObjMisStaWeightListRespDto != null && queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList())) {
                batchQueryDeptListReqDto.setDeptList(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getDeptId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:97483_1
            }

            /*D1-3批量查询部门列表（查部门名称）[1182]   */

            batchQueryDeptListRespDto = fwBaseOrgClient.batchQueryDeptList(batchQueryDeptListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryDeptListRespDto_1 = batchQueryDeptListRespDto;
        }

//步骤4: D3执行数据集合并业务应用变更字段(公共) - implementDataSetMergebizAppChangeColCom
        ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColComRespDto = null;
        if (queryDeptObjMisStaWeightListRespDto != null) {
            ImplementDataSetMergebizAppChangeColComReqDto implementDataSetMergebizAppChangeColComReqDto = new ImplementDataSetMergebizAppChangeColComReqDto();
            implementDataSetMergebizAppChangeColComReqDto.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET");//sourceId:502783_1
            if (queryDeptObjMisStaWeightListRespDto != null && queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList())) {
                implementDataSetMergebizAppChangeColComReqDto.setBizAppChangeColList(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList().stream().map(item -> item.getObjTargetCycleWeightSetId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:502782_1
            }
            if (queryDeptObjMisStaWeightListRespDto != null && queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList() != null && !CollectionUtil.isEmpty(queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList())) {
                implementDataSetMergebizAppChangeColComReqDto.setEvaObjTargetCycleWeightList(//objList-to-objLists
                        queryDeptObjMisStaWeightListRespDto.getEvaObjTargetCycleList().stream().map(item -> {
                            EvaObjTargetCycleWeightDto elm = new EvaObjTargetCycleWeightDto();
                            if (item != null) {
                                elm.setObjTargetCycleWeightSetId(item.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:129913_2
                                elm.setWeightValue(item.getWeightValue());//SimpleFieldAssign//sourceId:129914_2
                                elm.setWeightScore(item.getWeightValue());//SimpleFieldAssign//sourceId:129915_2
                            }
                            return elm;
                        }).collect(Collectors.toList()));//objList-to-objLists//sourceId:502785_1
            }

            /*D3执行数据集合并业务应用变更字段(公共)[5212]   */
            Assert.isNull(implementDataSetMergebizAppChangeColComReqDto.getTableTypeCode(), "B3-3查部门目标任务书设权重列表(管理)-D3执行数据集合并业务应用变更字段(公共)-内容表类型编码不能为空", false);
            implementDataSetMergebizAppChangeColComRespDto = fwAppChangeColumnClient.implementDataSetMergebizAppChangeColCom(implementDataSetMergebizAppChangeColComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementDataSetMergebizAppChangeColComRespDto_1 = implementDataSetMergebizAppChangeColComRespDto;
        }

        BffQueryDeptObjMisStaSetWeightListRespDto retData = new BffQueryDeptObjMisStaSetWeightListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryDeptObjMisStaWeightListRespDto_1 != null && !CollectionUtil.isEmpty(queryDeptObjMisStaWeightListRespDto_1.getEvaObjTargetCycleList())) {
            for (EvaObjTargetCycleDto evaObjTargetCycleDto : queryDeptObjMisStaWeightListRespDto_1.getEvaObjTargetCycleList()) {
                BffEvaObjTargetCycleWeightDto retElm = new BffEvaObjTargetCycleWeightDto();
                if (queryDeptObjMisStaWeightListRespDto_1 != null) {
                    retElm.setObjTargetCycleWeightSetId(evaObjTargetCycleDto.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:131231_2
                    retElm.setEvaObjTargetCycleId(evaObjTargetCycleDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:122186_2
                    retElm.setEvaObjTargetCycleCode(evaObjTargetCycleDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:122187_2
                    retElm.setTargetCycleName(evaObjTargetCycleDto.getTargetCycleName());//SimpleFieldAssign//sourceId:122189_2
                    retElm.setCyclelAlias(evaObjTargetCycleDto.getCyclelAlias());//SimpleFieldAssign//sourceId:122190_2
                    retElm.setSubjectLifeCycle(evaObjTargetCycleDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:122191_2
                    retElm.setEvaObjEntityId(evaObjTargetCycleDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:122192_2
                    retElm.setEvaObjTableTypeCode(evaObjTargetCycleDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:122193_2
                    retElm.setEvaObjTypeCode(evaObjTargetCycleDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:122194_2
                    retElm.setTreeTypeCode(evaObjTargetCycleDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:122195_2
                    retElm.setCycleId(evaObjTargetCycleDto.getCycleId());//SimpleFieldAssign//sourceId:122197_2
                    retElm.setCycleStandardName(evaObjTargetCycleDto.getCycleStandardName());//SimpleFieldAssign//sourceId:122198_2
                    retElm.setCycleStartTime(evaObjTargetCycleDto.getCycleStartTime());//SimpleFieldAssign//sourceId:122199_2
                    retElm.setCycleEndTime(evaObjTargetCycleDto.getCycleEndTime());//SimpleFieldAssign//sourceId:122200_2
                    retElm.setTargetId(evaObjTargetCycleDto.getTargetId());//SimpleFieldAssign//sourceId:122201_2
                    retElm.setEvaluationTemplateId(evaObjTargetCycleDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:122202_2
                    retElm.setParentEvaObjTargetCycleId(evaObjTargetCycleDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:122188_2
                    retElm.setTargetCycleContentId(evaObjTargetCycleDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:122196_2
                    retElm.setUpdateStatus(evaObjTargetCycleDto.getUpdateStatus());//SimpleFieldAssign//sourceId:122205_2
                    retElm.setDeptId(evaObjTargetCycleDto.getDeptId());//SimpleFieldAssign//sourceId:213733_2
                    retElm.setPersonLiableVirtualOrgInductionRecordId(evaObjTargetCycleDto.getPersonLiableVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:213734_2
                    retElm.setPersonLiableUserId(evaObjTargetCycleDto.getPersonLiableUserId());//SimpleFieldAssign//sourceId:213735_2
                    retElm.setDeptLeaderVirtualOrgInductionRecordId(evaObjTargetCycleDto.getDeptLeaderVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:213736_2
                    retElm.setDeptLeaderUserId(evaObjTargetCycleDto.getDeptLeaderUserId());//SimpleFieldAssign//sourceId:213737_2
                }
                retData.getEvaObjTargetCycleWeightList().add(retElm);
                if (implementDataSetMergebizAppChangeColComRespDto_1 != null) {
                    for (EvaObjTargetCycleWeightDto evaObjTargetCycleWeightDto : implementDataSetMergebizAppChangeColComRespDto_1.getEvaObjTargetCycleWeightList()) {
                        // TODO: 2022/12/11 手动代码，出参融合使用外键，可能为空
                        if (evaObjTargetCycleWeightDto.getObjTargetCycleWeightSetId() != null && evaObjTargetCycleWeightDto.getObjTargetCycleWeightSetId().equals(evaObjTargetCycleDto.getObjTargetCycleWeightSetId())) {
                            if (implementDataSetMergebizAppChangeColComRespDto_1 != null) {
                                retElm.setWeightValue(evaObjTargetCycleWeightDto.getWeightValue());//SimpleFieldAssign//sourceId:129930_2
                            }
                        }
                    }
                }

                if (batchQueryDeptListRespDto_1 != null) {
                    for (DeptDto deptDto : batchQueryDeptListRespDto_1.getDeptList()) {
                        if (deptDto.getDeptId().equals(evaObjTargetCycleDto.getDeptId())) {
                            if (batchQueryDeptListRespDto_1 != null) {
                                retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:122215_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(evaObjTargetCycleDto.getPersonLiableUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setPersonLiableIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:122211_2
                                retElm.setPersonLiableNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:122212_2
                            }
                        }
                    }
                }

                if (batchQueryUserinfoRespDto_3 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_3.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(evaObjTargetCycleDto.getDeptLeaderUserId())) {
                            if (batchQueryUserinfoRespDto_3 != null) {
                                retElm.setDeptLeaderIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:122213_2
                                retElm.setDeptLeaderNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:122214_2
                            }
                        }
                    }
                }

            }
        }//sourceId:453700_1


        List<Object> allNodes = new ArrayList<>();
        allNodes.addAll(retData.getEvaObjTargetCycleWeightList());
        List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
        retData.setTreeNode(nodeList);
        retData.setEvaObjTargetCycleWeightList(null);

        return retData;
    }

    /**
     * B3-3中层下发执行目标(管理)[3031]
     * gen by moon at 10/24/2023, 3:32:56 AM
     */
    @Trace(operationName = "B3-3中层下发执行目标(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchIssuedMidPerformTargetRespDto batchIssuedMidPerformTarget(BffBatchIssuedMidPerformTargetReqDto reqDto) {


        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 = null;
        ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto_1 = null;
//virtualUsage D3执行进度运行判断(公共)  48984
        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
        ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto = new ImplementExecuteProgressOperationJudgeComReqDto();
        implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_MID_ISSUE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1086091_1_48984
        if (reqDto != null) {
            implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1086090_1_48984
            implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086092_1_48984
        }

        /*D3执行进度运行判断(公共)[7243]   */
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(), "B3-3中层下发执行目标(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(), "B3-3中层下发执行目标(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(), "B3-3中层下发执行目标(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空", false);
        implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
        if ((implementExecuteProgressOperationJudgeComRespDto != null && implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null)) {
            //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  46156

            ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto = null;
            ImplementTopMidBasicGuideStepRoomReqDto implementTopMidBasicGuideStepRoomReqDto = new ImplementTopMidBasicGuideStepRoomReqDto();
            implementTopMidBasicGuideStepRoomReqDto.setTargetTaskDivision("1");//CUSTOM_CONVENTION//sourceId:1203607_1_51046
            implementTopMidBasicGuideStepRoomReqDto.setBatchOperateScene("MID");//sourceId:1203608_1_51046
            if (reqDto != null) {
                implementTopMidBasicGuideStepRoomReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1203609_1_51046
                implementTopMidBasicGuideStepRoomReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1203610_1_51046
            }

            /*D3执行中层导向步骤房间[7600]   */
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getTargetTaskDivision(), "B3-3中层下发执行目标(管理)-D3执行中层导向步骤房间-目标任务分工不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getBatchOperateScene(), "B3-3中层下发执行目标(管理)-D3执行中层导向步骤房间-高/中/基层操作场景不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getDeptId(), "B3-3中层下发执行目标(管理)-D3执行中层导向步骤房间-一级部门ID不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getEvaluationTemplateId(), "B3-3中层下发执行目标(管理)-D3执行中层导向步骤房间-冗余评价模板ID不能为空", false);
            implementTopMidBasicGuideStepRoomRespDto = fwAppEvaSystemClient.implementTopMidBasicGuideStepRoom(implementTopMidBasicGuideStepRoomReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementTopMidBasicGuideStepRoomRespDto_1 = implementTopMidBasicGuideStepRoomRespDto;
            ImplementTopMidBasicCurrentBstepJudgeComRespDto implementTopMidBasicCurrentBstepJudgeComRespDto = null;
            if (implementTopMidBasicGuideStepRoomRespDto != null) {
                ImplementTopMidBasicCurrentBstepJudgeComReqDto implementTopMidBasicCurrentBstepJudgeComReqDto = new ImplementTopMidBasicCurrentBstepJudgeComReqDto();
                implementTopMidBasicCurrentBstepJudgeComReqDto.setBatchOperateScene("MID");//sourceId:1091575_1_48985
                if (reqDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setEntityId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1091571_1_48985
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1091572_1_48985
                }
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:1091574_1_48985
                }

                /*D3执行中层当前步骤判断(公共)[7303]   */
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getEntityId(), "B3-3中层下发执行目标(管理)-D3执行中层当前步骤判断(公共)-步骤内容实例ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getStepRoomValue(), "B3-3中层下发执行目标(管理)-D3执行中层当前步骤判断(公共)-进入步骤房间值不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getThemeContentId(), "B3-3中层下发执行目标(管理)-D3执行中层当前步骤判断(公共)-主题内容ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getBatchOperateScene(), "B3-3中层下发执行目标(管理)-D3执行中层当前步骤判断(公共)-高/中/基层操作场景不能为空", false);
                implementTopMidBasicCurrentBstepJudgeComRespDto = fwAppOffStateClient.implementTopMidBasicCurrentBstepJudgeCom(implementTopMidBasicCurrentBstepJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            if ((implementTopMidBasicCurrentBstepJudgeComRespDto != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse() != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse().equals("FALSE"))) {
                //if(D3执行中层当前步骤判断(公共).是否相等 等于 否)  48986

                BatchIssuedMidPerformTargetRespDto batchIssuedMidPerformTargetRespDto = null;
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    BatchIssuedMidPerformTargetReqDto batchIssuedMidPerformTargetReqDto = new BatchIssuedMidPerformTargetReqDto();
                    batchIssuedMidPerformTargetReqDto.setUseTypeCode("USE_MID_ISSUE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1079296_1_48987
                    if (reqDto != null) {
                        batchIssuedMidPerformTargetReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:848424_1_48987
                        batchIssuedMidPerformTargetReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:848425_1_48987
                        batchIssuedMidPerformTargetReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:848426_1_48987
                        batchIssuedMidPerformTargetReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:848427_1_48987
                        batchIssuedMidPerformTargetReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:848428_1_48987
                        batchIssuedMidPerformTargetReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:1062707_1_48987
                        batchIssuedMidPerformTargetReqDto.setMgtType(reqDto.getMgtType());//SimpleFieldAssign//sourceId:1141166_1_48987
                        batchIssuedMidPerformTargetReqDto.setWeightSetWay(reqDto.getWeightSetWay());//SimpleFieldAssign//sourceId:1062708_1_48987
                    }
                    if (implementTopMidBasicGuideStepRoomRespDto != null) {
                        batchIssuedMidPerformTargetReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:848430_1_48987
                    }

                    /*D3-3下发中层执行目标[3032]   */
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getDeptId(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-部门ID不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getDeptTargetTaskBookId(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-部门目标任务书ID不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getTargetId(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-冗余目标ID不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getEvaluationTemplateId(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-冗余评价模板ID不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getStepRoomValue(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-进入步骤房间值不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getBatchCode(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-批次标识不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getBatchCurrentStatus(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-批次现状不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getMgtType(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-管理类型不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getWeightSetWay(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-前端权重设置方式不能为空", false);
                    Assert.isNull(batchIssuedMidPerformTargetReqDto.getUseTypeCode(), "B3-3中层下发执行目标(管理)-D3-3下发中层执行目标-用途类型编码不能为空", false);
                    batchIssuedMidPerformTargetRespDto = fwAppEvaSystemClient.batchIssuedMidPerformTarget(batchIssuedMidPerformTargetReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            }
        }
        BffBatchIssuedMidPerformTargetRespDto retData = new BffBatchIssuedMidPerformTargetRespDto();
        if (implementTopMidBasicGuideStepRoomRespDto_1 != null) {
            retData.setStepNameCode(implementTopMidBasicGuideStepRoomRespDto_1.getStepNameCode());//SimpleFieldAssign//sourceId:1203611_1
        }
        if (implementExecuteProgressOperationJudgeComRespDto_1 != null) {
            retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086094_1
        }


        return retData;
    }

    /**
     * B3-3中层下发牵头目标(管理)[3033]
     * gen by moon at 10/24/2023, 3:33:03 AM
     */
    @Trace(operationName = "B3-3中层下发牵头目标(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchIssuedMidLeadTargetRespDto batchIssuedMidLeadTarget(BffBatchIssuedMidLeadTargetReqDto reqDto) {


        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 = null;
        ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto_1 = null;
//virtualUsage D3执行进度运行判断(公共)  48972
        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
        ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto = new ImplementExecuteProgressOperationJudgeComReqDto();
        implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_MID_ISSUE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1086096_1_48972
        if (reqDto != null) {
            implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1086095_1_48972
            implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086097_1_48972
        }

        /*D3执行进度运行判断(公共)[7243]   */
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(), "B3-3中层下发牵头目标(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(), "B3-3中层下发牵头目标(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(), "B3-3中层下发牵头目标(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空", false);
        implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
        if ((implementExecuteProgressOperationJudgeComRespDto != null && implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null)) {
            //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  46152

            ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto = null;
            ImplementTopMidBasicGuideStepRoomReqDto implementTopMidBasicGuideStepRoomReqDto = new ImplementTopMidBasicGuideStepRoomReqDto();
            implementTopMidBasicGuideStepRoomReqDto.setExecuteTargetArrange("1");//CUSTOM_CONVENTION//sourceId:1203630_1_51047
            implementTopMidBasicGuideStepRoomReqDto.setBatchOperateScene("MID");//sourceId:1203631_1_51047
            if (reqDto != null) {
                implementTopMidBasicGuideStepRoomReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1203632_1_51047
                implementTopMidBasicGuideStepRoomReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1203633_1_51047
            }

            /*D3执行中层导向步骤房间[7600]   */
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getExecuteTargetArrange(), "B3-3中层下发牵头目标(管理)-D3执行中层导向步骤房间-执行目标安排不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getBatchOperateScene(), "B3-3中层下发牵头目标(管理)-D3执行中层导向步骤房间-高/中/基层操作场景不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getDeptId(), "B3-3中层下发牵头目标(管理)-D3执行中层导向步骤房间-一级部门ID不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getEvaluationTemplateId(), "B3-3中层下发牵头目标(管理)-D3执行中层导向步骤房间-冗余评价模板ID不能为空", false);
            implementTopMidBasicGuideStepRoomRespDto = fwAppEvaSystemClient.implementTopMidBasicGuideStepRoom(implementTopMidBasicGuideStepRoomReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementTopMidBasicGuideStepRoomRespDto_1 = implementTopMidBasicGuideStepRoomRespDto;
            ImplementTopMidBasicCurrentBstepJudgeComRespDto implementTopMidBasicCurrentBstepJudgeComRespDto = null;
            if (implementTopMidBasicGuideStepRoomRespDto != null) {
                ImplementTopMidBasicCurrentBstepJudgeComReqDto implementTopMidBasicCurrentBstepJudgeComReqDto = new ImplementTopMidBasicCurrentBstepJudgeComReqDto();
                implementTopMidBasicCurrentBstepJudgeComReqDto.setBatchOperateScene("MID");//sourceId:1091570_1_48974
                if (reqDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setEntityId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1091566_1_48974
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1091567_1_48974
                }
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:1091569_1_48974
                }

                /*D3执行中层当前步骤判断(公共)[7303]   */
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getEntityId(), "B3-3中层下发牵头目标(管理)-D3执行中层当前步骤判断(公共)-步骤内容实例ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getStepRoomValue(), "B3-3中层下发牵头目标(管理)-D3执行中层当前步骤判断(公共)-进入步骤房间值不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getThemeContentId(), "B3-3中层下发牵头目标(管理)-D3执行中层当前步骤判断(公共)-主题内容ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getBatchOperateScene(), "B3-3中层下发牵头目标(管理)-D3执行中层当前步骤判断(公共)-高/中/基层操作场景不能为空", false);
                implementTopMidBasicCurrentBstepJudgeComRespDto = fwAppOffStateClient.implementTopMidBasicCurrentBstepJudgeCom(implementTopMidBasicCurrentBstepJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            if ((implementTopMidBasicCurrentBstepJudgeComRespDto != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse() != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse().equals("FALSE"))) {
                //if(D3执行中层当前步骤判断(公共).是否相等 等于 否)  48975

                BatchIssuedMidLeadTargetRespDto batchIssuedMidLeadTargetRespDto = null;
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    BatchIssuedMidLeadTargetReqDto batchIssuedMidLeadTargetReqDto = new BatchIssuedMidLeadTargetReqDto();
                    batchIssuedMidLeadTargetReqDto.setUseTypeCode("USE_MID_ISSUE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1079584_1_48976
                    if (reqDto != null) {
                        batchIssuedMidLeadTargetReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:340344_1_48976
                        batchIssuedMidLeadTargetReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:340345_1_48976
                        batchIssuedMidLeadTargetReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:340346_1_48976
                        batchIssuedMidLeadTargetReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:340347_1_48976
                        batchIssuedMidLeadTargetReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:340348_1_48976
                        batchIssuedMidLeadTargetReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:1062657_1_48976
                        batchIssuedMidLeadTargetReqDto.setMgtType(reqDto.getMgtType());//SimpleFieldAssign//sourceId:1140828_1_48976
                        batchIssuedMidLeadTargetReqDto.setWeightSetWay(reqDto.getWeightSetWay());//SimpleFieldAssign//sourceId:1062658_1_48976
                    }
                    if (implementTopMidBasicGuideStepRoomRespDto != null) {
                        batchIssuedMidLeadTargetReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:847758_1_48976
                    }

                    /*D3-3下发中层牵头目标[3036]   */
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getDeptId(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-部门ID不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getDeptTargetTaskBookId(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-部门目标任务书ID不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getTargetId(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-目标ID不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getEvaluationTemplateId(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-归属评价模板ID不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getStepRoomValue(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-进入步骤房间值不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getBatchCode(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-批次标识不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getBatchCurrentStatus(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-批次现状不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getMgtType(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-管理类型不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getWeightSetWay(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-前端权重设置方式不能为空", false);
                    Assert.isNull(batchIssuedMidLeadTargetReqDto.getUseTypeCode(), "B3-3中层下发牵头目标(管理)-D3-3下发中层牵头目标-用途类型编码不能为空", false);
                    batchIssuedMidLeadTargetRespDto = fwAppEvaSystemClient.batchIssuedMidLeadTarget(batchIssuedMidLeadTargetReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            }
        }
        BffBatchIssuedMidLeadTargetRespDto retData = new BffBatchIssuedMidLeadTargetRespDto();
        if (implementTopMidBasicGuideStepRoomRespDto_1 != null) {
            retData.setStepNameCode(implementTopMidBasicGuideStepRoomRespDto_1.getStepNameCode());//SimpleFieldAssign//sourceId:1203634_1
        }
        if (implementExecuteProgressOperationJudgeComRespDto_1 != null) {
            retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086099_1
        }


        return retData;
    }

    /**
     * B3-3查询评价主题列表(边界)[2276]
     * gen by moon at 5/24/2024, 12:07:41 AM
     */
    @Trace(operationName = "B3-3查询评价主题列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryEvaThemeListBorderRespDto queryEvaThemeListBorder(BffQueryEvaThemeListBorderReqDto reqDto) {


        QueryEvaThemeMgtPowerListRespDto queryEvaThemeMgtPowerListRespDto_1 = null;
//步骤0: D3-2查询评价主题管理权限列表 - queryEvaThemeMgtPowerList
        QueryEvaThemeMgtPowerListRespDto queryEvaThemeMgtPowerListRespDto = null;
        QueryEvaThemeMgtPowerListReqDto queryEvaThemeMgtPowerListReqDto = new QueryEvaThemeMgtPowerListReqDto();
        if (reqDto != null) {
            queryEvaThemeMgtPowerListReqDto.setBizSceneCode(reqDto.getBizSceneCode());//SimpleFieldAssign//sourceId:333395_1
        }

        /*D3-2查询评价主题管理权限列表[3089]   */
        Assert.isNull(queryEvaThemeMgtPowerListReqDto.getBizSceneCode(), "B3-3查询评价主题列表(边界)-D3-2查询评价主题管理权限列表-冗余业务场景标识不能为空", false);
        queryEvaThemeMgtPowerListRespDto = fwAppEvaSystemClient.queryEvaThemeMgtPowerList(queryEvaThemeMgtPowerListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryEvaThemeMgtPowerListRespDto_1 = queryEvaThemeMgtPowerListRespDto;

        BffQueryEvaThemeListBorderRespDto retData = new BffQueryEvaThemeListBorderRespDto();
        if (queryEvaThemeMgtPowerListRespDto_1 != null) {
            retData.setEvalThemeList(queryEvaThemeMgtPowerListRespDto_1.getEvalThemeList().stream().map(item -> BeanUtil.toBean(item, BffEvalThemeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:333471_1
        }


        return retData;
    }

    /**
     * B3-3查询评价模板授权是否可用[4567]
     * gen by moon at 9/16/2022, 1:49:05 AM
     */
    @Trace(operationName = "B3-3查询评价模板授权是否可用")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryEvaTempEmpowerDetailRespDto queryEvaTempEmpowerDetail(BffQueryEvaTempEmpowerDetailReqDto reqDto) {


        BatchQueryCurrentUserRecordTributPowerComRespDto batchQueryCurrentUserRecordTributPowerComRespDto_1 = null;
//步骤0: D1-2批量查询当前用户就职记录权限(公共) - batchQueryCurrentUserRecordTributPowerCom
        BatchQueryCurrentUserRecordTributPowerComRespDto batchQueryCurrentUserRecordTributPowerComRespDto = null;
        BatchQueryCurrentUserRecordTributPowerComReqDto batchQueryCurrentUserRecordTributPowerComReqDto = new BatchQueryCurrentUserRecordTributPowerComReqDto();
        batchQueryCurrentUserRecordTributPowerComReqDto.setDataModel("STRATEGY_PLAN_SCENE");//sourceId:329935_1
        batchQueryCurrentUserRecordTributPowerComReqDto.setPrivacyCategory("SUB_DATA_PRIVACY");//sourceId:329939_1
        batchQueryCurrentUserRecordTributPowerComReqDto.setBusinessPurposes("ALL");//sourceId:329940_1
        batchQueryCurrentUserRecordTributPowerComReqDto.setAllocationObjectId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:329942_1
        batchQueryCurrentUserRecordTributPowerComReqDto.setTypeCode("PERSONAL_DEPARTMENT");//sourceId:329941_1
        batchQueryCurrentUserRecordTributPowerComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:329943_1
        if (reqDto != null) {
            batchQueryCurrentUserRecordTributPowerComReqDto.setTributPowerList(reqDto.getTributPowerList());//sourceId:329934_1
        }

        /*D1-2批量查询当前用户就职记录权限(公共)[4569]   */

        batchQueryCurrentUserRecordTributPowerComRespDto = fwBasePowerClient.batchQueryCurrentUserRecordTributPowerCom(batchQueryCurrentUserRecordTributPowerComReqDto).getData();


        batchQueryCurrentUserRecordTributPowerComRespDto_1 = batchQueryCurrentUserRecordTributPowerComRespDto;

        BffQueryEvaTempEmpowerDetailRespDto retData = new BffQueryEvaTempEmpowerDetailRespDto();
        if (batchQueryCurrentUserRecordTributPowerComRespDto_1 != null) {
            retData.setTributPowerList(batchQueryCurrentUserRecordTributPowerComRespDto_1.getTributPowerList().stream().map(item -> BeanUtil.toBean(item, BffTributPowerDto.class)).collect(Collectors.toList()));//sourceId:329946_1
        }


        return retData;
    }

    /**
     * B3-3判断中层修改安排(管理)[4668]
     * gen by moon at 6/24/2023, 3:05:55 AM
     */
    @Trace(operationName = "B3-3判断中层修改安排(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeMidAmendArrangeRespDto judgeMidAmendArrange(BffJudgeMidAmendArrangeReqDto reqDto) {


        JudgeMidAmendArrangeRespDto judgeMidAmendArrangeRespDto_1 = null;
//步骤0: D3-3判断中层修改安排 - judgeMidAmendArrange
        JudgeMidAmendArrangeRespDto judgeMidAmendArrangeRespDto = null;
        JudgeMidAmendArrangeReqDto judgeMidAmendArrangeReqDto = new JudgeMidAmendArrangeReqDto();
        if (reqDto != null) {
            judgeMidAmendArrangeReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:341057_1
            judgeMidAmendArrangeReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:341058_1
            judgeMidAmendArrangeReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1053739_1
        }

        /*D3-3判断中层修改安排[4673]   */
        Assert.isNull(judgeMidAmendArrangeReqDto.getDeptId(), "B3-3判断中层修改安排(管理)-D3-3判断中层修改安排-部门ID不能为空", false);
        Assert.isNull(judgeMidAmendArrangeReqDto.getDeptTargetTaskBookId(), "B3-3判断中层修改安排(管理)-D3-3判断中层修改安排-部门目标任务书ID不能为空", false);
        Assert.isNull(judgeMidAmendArrangeReqDto.getEvaluationTemplateId(), "B3-3判断中层修改安排(管理)-D3-3判断中层修改安排-冗余评价模板ID不能为空", false);
        judgeMidAmendArrangeRespDto = fwAppEvaSystemClient.judgeMidAmendArrange(judgeMidAmendArrangeReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        judgeMidAmendArrangeRespDto_1 = judgeMidAmendArrangeRespDto;

        BffJudgeMidAmendArrangeRespDto retData = new BffJudgeMidAmendArrangeRespDto();
        if (judgeMidAmendArrangeRespDto_1 != null) {
            retData.setLeadTargetArrangeRoom(judgeMidAmendArrangeRespDto_1.getLeadTargetArrangeRoom());//SimpleFieldAssign//sourceId:341064_1
            retData.setExecuteTargetArrangeRoom(judgeMidAmendArrangeRespDto_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:341065_1
            retData.setTargetTaskDivRoom(judgeMidAmendArrangeRespDto_1.getTargetTaskDivRoom());//SimpleFieldAssign//sourceId:341066_1
        }


        return retData;
    }

    /**
     * B3-3判断基层修改安排(管理)[4670]
     * gen by moon at 10/8/2022, 3:10:58 AM
     */
    @Trace(operationName = "B3-3判断基层修改安排(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeBasicAmendArrangeRespDto judgeBasicAmendArrange(BffJudgeBasicAmendArrangeReqDto reqDto) {


        JudgeBasicAmendArrangeRespDto judgeBasicAmendArrangeRespDto_1 = null;
//步骤0: D3-3判断基层修改安排 - judgeBasicAmendArrange
        JudgeBasicAmendArrangeRespDto judgeBasicAmendArrangeRespDto = null;
        JudgeBasicAmendArrangeReqDto judgeBasicAmendArrangeReqDto = new JudgeBasicAmendArrangeReqDto();
        if (reqDto != null) {
            judgeBasicAmendArrangeReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:340998_1
            judgeBasicAmendArrangeReqDto.setDeptOkrTargetId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:340999_1
        }

        /*D3-3判断基层修改安排[4675]   */
        Assert.isNull(judgeBasicAmendArrangeReqDto.getDeptId(), "B3-3判断基层修改安排(管理)-D3-3判断基层修改安排-部门ID不能为空", false);
        Assert.isNull(judgeBasicAmendArrangeReqDto.getDeptOkrTargetId(), "B3-3判断基层修改安排(管理)-D3-3判断基层修改安排-部门OKR目标ID不能为空", false);
        judgeBasicAmendArrangeRespDto = fwAppEvaSystemClient.judgeBasicAmendArrange(judgeBasicAmendArrangeReqDto).getData();


        judgeBasicAmendArrangeRespDto_1 = judgeBasicAmendArrangeRespDto;

        BffJudgeBasicAmendArrangeRespDto retData = new BffJudgeBasicAmendArrangeRespDto();
        if (judgeBasicAmendArrangeRespDto_1 != null) {
            retData.setExecuteTargetArrangeRoom(judgeBasicAmendArrangeRespDto_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:341003_1
        }


        return retData;
    }

    /**
     * B3-3判断高层重新编辑(管理)[4676]
     * gen by moon at 10/8/2022, 3:11:02 AM
     */
    @Trace(operationName = "B3-3判断高层重新编辑(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeTopAnewEditRespDto judgeTopAnewEdit(BffJudgeTopAnewEditReqDto reqDto) {


        JudgeTopAnewEditRespDto judgeTopAnewEditRespDto_1 = null;
//步骤0: D3-3判断高层重新编辑 - judgeTopAnewEdit
        JudgeTopAnewEditRespDto judgeTopAnewEditRespDto = null;
        JudgeTopAnewEditReqDto judgeTopAnewEditReqDto = new JudgeTopAnewEditReqDto();
        if (reqDto != null) {
            judgeTopAnewEditReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:340941_1
        }

        /*D3-3判断高层重新编辑[4677]   */
        Assert.isNull(judgeTopAnewEditReqDto.getEvaluationTemplateId(), "B3-3判断高层重新编辑(管理)-D3-3判断高层重新编辑-评价模板ID不能为空", false);
        judgeTopAnewEditRespDto = fwAppEvaSystemClient.judgeTopAnewEdit(judgeTopAnewEditReqDto).getData();


        judgeTopAnewEditRespDto_1 = judgeTopAnewEditRespDto;

        BffJudgeTopAnewEditRespDto retData = new BffJudgeTopAnewEditRespDto();
        if (judgeTopAnewEditRespDto_1 != null) {
            retData.setCompileTargetTaskRoom(judgeTopAnewEditRespDto_1.getCompileTargetTaskRoom());//SimpleFieldAssign//sourceId:340945_1
            retData.setDeptTargetWeightSetRoom(judgeTopAnewEditRespDto_1.getDeptTargetWeightSetRoom());//SimpleFieldAssign//sourceId:340946_1
        }


        return retData;
    }

    /**
     * B3-3基层下发执行目标(管理)[3057]
     * gen by moon at 10/24/2023, 3:33:28 AM
     */
    @Trace(operationName = "B3-3基层下发执行目标(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchIssuedGrootsPerformTargetRespDto batchIssuedGrootsPerformTarget(BffBatchIssuedGrootsPerformTargetReqDto reqDto) {


        ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto_1 = null;
//virtualUsage D3执行进度运行判断(公共)  47503
        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
        ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto = new ImplementExecuteProgressOperationJudgeComReqDto();
        implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_BASIC_ISSUE_EXECUTE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1086101_1_47503
        if (reqDto != null) {
            implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:1086100_1_47503
            implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086102_1_47503
        }

        /*D3执行进度运行判断(公共)[7243]   */
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(), "B3-3基层下发执行目标(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(), "B3-3基层下发执行目标(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(), "B3-3基层下发执行目标(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空", false);
        implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((implementExecuteProgressOperationJudgeComRespDto != null && implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null)) {
            //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  47504

            ImplementTopMidBasicGuideStepRoomRespDto implementTopMidBasicGuideStepRoomRespDto = null;
            ImplementTopMidBasicGuideStepRoomReqDto implementTopMidBasicGuideStepRoomReqDto = new ImplementTopMidBasicGuideStepRoomReqDto();
            implementTopMidBasicGuideStepRoomReqDto.setTargetTaskDivision("1");//CUSTOM_CONVENTION//sourceId:1203653_1_51048
            implementTopMidBasicGuideStepRoomReqDto.setBatchOperateScene("BASIC");//sourceId:1203654_1_51048

            /*D3执行基层导向步骤房间[7600]   */
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getTargetTaskDivision(), "B3-3基层下发执行目标(管理)-D3执行基层导向步骤房间-目标任务分工不能为空", false);
            Assert.isNull(implementTopMidBasicGuideStepRoomReqDto.getBatchOperateScene(), "B3-3基层下发执行目标(管理)-D3执行基层导向步骤房间-高/中/基层操作场景不能为空", false);
            implementTopMidBasicGuideStepRoomRespDto = fwAppEvaSystemClient.implementTopMidBasicGuideStepRoom(implementTopMidBasicGuideStepRoomReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementTopMidBasicGuideStepRoomRespDto_1 = implementTopMidBasicGuideStepRoomRespDto;
            ImplementTopMidBasicCurrentBstepJudgeComRespDto implementTopMidBasicCurrentBstepJudgeComRespDto = null;
            if (implementTopMidBasicGuideStepRoomRespDto != null) {
                ImplementTopMidBasicCurrentBstepJudgeComReqDto implementTopMidBasicCurrentBstepJudgeComReqDto = new ImplementTopMidBasicCurrentBstepJudgeComReqDto();
                implementTopMidBasicCurrentBstepJudgeComReqDto.setBatchOperateScene("BASIC");//sourceId:1091580_1_47754
                if (reqDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setEntityId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:1091576_1_47754
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1091577_1_47754
                }
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    implementTopMidBasicCurrentBstepJudgeComReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:1091579_1_47754
                }

                /*D3执行基层当前步骤判断(公共)[7303]   */
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getEntityId(), "B3-3基层下发执行目标(管理)-D3执行基层当前步骤判断(公共)-步骤内容实例ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getStepRoomValue(), "B3-3基层下发执行目标(管理)-D3执行基层当前步骤判断(公共)-进入步骤房间值不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getThemeContentId(), "B3-3基层下发执行目标(管理)-D3执行基层当前步骤判断(公共)-主题内容ID不能为空", false);
                Assert.isNull(implementTopMidBasicCurrentBstepJudgeComReqDto.getBatchOperateScene(), "B3-3基层下发执行目标(管理)-D3执行基层当前步骤判断(公共)-高/中/基层操作场景不能为空", false);
                implementTopMidBasicCurrentBstepJudgeComRespDto = fwAppOffStateClient.implementTopMidBasicCurrentBstepJudgeCom(implementTopMidBasicCurrentBstepJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            if ((implementTopMidBasicCurrentBstepJudgeComRespDto != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse() != null && implementTopMidBasicCurrentBstepJudgeComRespDto.getTureOrFalse().equals("FALSE"))) {
                //if(D3执行基层当前步骤判断(公共).是否相等 等于 否)  47755

                BatchIssuedGrootsPerformTargetRespDto batchIssuedGrootsPerformTargetRespDto = null;
                if (implementTopMidBasicGuideStepRoomRespDto != null) {
                    BatchIssuedGrootsPerformTargetReqDto batchIssuedGrootsPerformTargetReqDto = new BatchIssuedGrootsPerformTargetReqDto();
                    batchIssuedGrootsPerformTargetReqDto.setUseTypeCode("USE_BASIC_ISSUE_EXECUTE_OBJTIVE");//CUSTOM_CONVENTION//sourceId:1085166_1_47756
                    if (reqDto != null) {
                        batchIssuedGrootsPerformTargetReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:848841_1_47756
                        batchIssuedGrootsPerformTargetReqDto.setDeptOkrTargetId(reqDto.getDeptOkrTargetId());//SimpleFieldAssign//sourceId:848842_1_47756
                        batchIssuedGrootsPerformTargetReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:848843_1_47756
                        batchIssuedGrootsPerformTargetReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:848844_1_47756
                        batchIssuedGrootsPerformTargetReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:848847_1_47756
                        batchIssuedGrootsPerformTargetReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:1062751_1_47756
                        batchIssuedGrootsPerformTargetReqDto.setWeightSetWay(reqDto.getWeightSetWay());//SimpleFieldAssign//sourceId:1062752_1_47756
                    }
                    if (implementTopMidBasicGuideStepRoomRespDto != null) {
                        batchIssuedGrootsPerformTargetReqDto.setStepRoomValue(implementTopMidBasicGuideStepRoomRespDto.getStepRoomValue());//SimpleFieldAssign//sourceId:848846_1_47756
                    }

                    /*D3-3基层下发执行目标[3058]   */
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getDeptId(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-部门ID不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getDeptOkrTargetId(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-部门OKR目标ID不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getTargetId(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-目标ID不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getEvaluationTemplateId(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-冗余评价模板ID不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getStepRoomValue(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-进入步骤房间值不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getBatchCode(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-批次标识不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getBatchCurrentStatus(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-批次现状不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getWeightSetWay(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-前端权重设置方式不能为空", false);
                    Assert.isNull(batchIssuedGrootsPerformTargetReqDto.getUseTypeCode(), "B3-3基层下发执行目标(管理)-D3-3基层下发执行目标-用途类型编码不能为空", false);
                    batchIssuedGrootsPerformTargetRespDto = fwAppEvaSystemClient.batchIssuedGrootsPerformTarget(batchIssuedGrootsPerformTargetReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            }
        }
        BffBatchIssuedGrootsPerformTargetRespDto retData = new BffBatchIssuedGrootsPerformTargetRespDto();
        if (implementTopMidBasicGuideStepRoomRespDto_1 != null) {
            retData.setStepNameCode(implementTopMidBasicGuideStepRoomRespDto_1.getStepNameCode());//SimpleFieldAssign//sourceId:1203655_1
        }


        return retData;
    }

    /**
     * B3-3判断中层第1步牵头目标安排(管理)[4666]
     * gen by moon at 6/1/2023, 9:54:25 PM
     */
    @Trace(operationName = "B3-3判断中层第1步牵头目标安排(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeMidFirstLeadTargetArrangeRespDto judgeMidFirstLeadTargetArrange(BffJudgeMidFirstLeadTargetArrangeReqDto reqDto) {


        JudgeMidFirstLeadTargetArrangeRespDto judgeMidFirstLeadTargetArrangeRespDto_1 = null;
//步骤0: D3-3判断中层第1步牵头目标安排 - judgeMidFirstLeadTargetArrange
        JudgeMidFirstLeadTargetArrangeRespDto judgeMidFirstLeadTargetArrangeRespDto = null;
        JudgeMidFirstLeadTargetArrangeReqDto judgeMidFirstLeadTargetArrangeReqDto = new JudgeMidFirstLeadTargetArrangeReqDto();
        if (reqDto != null) {
            judgeMidFirstLeadTargetArrangeReqDto.setDeptId(reqDto.getDeptId());//sourceId:341120_1
            judgeMidFirstLeadTargetArrangeReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//sourceId:341121_1
        }

        /*D3-3判断中层第1步牵头目标安排[4671]   */
        Assert.isNull(judgeMidFirstLeadTargetArrangeReqDto.getDeptId(), "B3-3判断中层第1步牵头目标安排(管理)-D3-3判断中层第1步牵头目标安排-部门ID不能为空", false);
        Assert.isNull(judgeMidFirstLeadTargetArrangeReqDto.getDeptTargetTaskBookId(), "B3-3判断中层第1步牵头目标安排(管理)-D3-3判断中层第1步牵头目标安排-部门目标任务书ID不能为空", false);
        judgeMidFirstLeadTargetArrangeRespDto = fwAppEvaSystemClient.judgeMidFirstLeadTargetArrange(judgeMidFirstLeadTargetArrangeReqDto).getData();


        judgeMidFirstLeadTargetArrangeRespDto_1 = judgeMidFirstLeadTargetArrangeRespDto;

        BffJudgeMidFirstLeadTargetArrangeRespDto retData = new BffJudgeMidFirstLeadTargetArrangeRespDto();
        if (judgeMidFirstLeadTargetArrangeRespDto_1 != null) {
            retData.setExecuteTargetArrangeRoom(judgeMidFirstLeadTargetArrangeRespDto_1.getExecuteTargetArrangeRoom());//sourceId:341127_1
            retData.setTargetTaskDivRoom(judgeMidFirstLeadTargetArrangeRespDto_1.getTargetTaskDivRoom());//sourceId:341128_1
            retData.setAchieveArrangeRoom(judgeMidFirstLeadTargetArrangeRespDto_1.getAchieveArrangeRoom());//sourceId:341129_1
        }


        return retData;
    }

    /**
     * B3-3判断中层第2步执行目标安排(管理)[4667]
     * gen by moon at 9/23/2022, 5:59:02 AM
     */
    @Trace(operationName = "B3-3判断中层第2步执行目标安排(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeMidSecExTargetArrangeRespDto judgeMidSecExTargetArrange(BffJudgeMidSecExTargetArrangeReqDto reqDto) {


        JudgeMidSecExTargetArrangeRespDto judgeMidSecExTargetArrangeRespDto_1 = null;
//步骤0: D3-3判断中层第2步执行目标安排 - judgeMidSecExTargetArrange
        JudgeMidSecExTargetArrangeRespDto judgeMidSecExTargetArrangeRespDto = null;
        JudgeMidSecExTargetArrangeReqDto judgeMidSecExTargetArrangeReqDto = new JudgeMidSecExTargetArrangeReqDto();
        if (reqDto != null) {
            judgeMidSecExTargetArrangeReqDto.setDeptId(reqDto.getDeptId());//sourceId:341183_1
            judgeMidSecExTargetArrangeReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//sourceId:341184_1
        }

        /*D3-3判断中层第2步执行目标安排[4672]   */
        Assert.isNull(judgeMidSecExTargetArrangeReqDto.getDeptId(), "B3-3判断中层第2步执行目标安排(管理)-D3-3判断中层第2步执行目标安排-部门ID不能为空", false);
        Assert.isNull(judgeMidSecExTargetArrangeReqDto.getDeptTargetTaskBookId(), "B3-3判断中层第2步执行目标安排(管理)-D3-3判断中层第2步执行目标安排-部门目标任务书ID不能为空", false);
        judgeMidSecExTargetArrangeRespDto = fwAppEvaSystemClient.judgeMidSecExTargetArrange(judgeMidSecExTargetArrangeReqDto).getData();


        judgeMidSecExTargetArrangeRespDto_1 = judgeMidSecExTargetArrangeRespDto;

        BffJudgeMidSecExTargetArrangeRespDto retData = new BffJudgeMidSecExTargetArrangeRespDto();
        if (judgeMidSecExTargetArrangeRespDto_1 != null) {
            retData.setTargetTaskDivRoom(judgeMidSecExTargetArrangeRespDto_1.getTargetTaskDivRoom());//sourceId:341189_1
            retData.setAchieveArrangeRoom(judgeMidSecExTargetArrangeRespDto_1.getAchieveArrangeRoom());//sourceId:341190_1
        }


        return retData;
    }

    /**
     * B3-3判断基层第1步执行目标安排(管理)[4669]
     * gen by moon at 9/23/2022, 5:59:08 AM
     */
    @Trace(operationName = "B3-3判断基层第1步执行目标安排(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeBasicFirstLeadTargetArrangeRespDto judgeBasicFirstLeadTargetArrange(BffJudgeBasicFirstLeadTargetArrangeReqDto reqDto) {


        JudgeBasicFirstLeadTargetArrangeRespDto judgeBasicFirstLeadTargetArrangeRespDto_1 = null;
//步骤0: D3-3判断基层第1步执行目标安排 - judgeBasicFirstLeadTargetArrange
        JudgeBasicFirstLeadTargetArrangeRespDto judgeBasicFirstLeadTargetArrangeRespDto = null;
        JudgeBasicFirstLeadTargetArrangeReqDto judgeBasicFirstLeadTargetArrangeReqDto = new JudgeBasicFirstLeadTargetArrangeReqDto();
        if (reqDto != null) {
            judgeBasicFirstLeadTargetArrangeReqDto.setDeptId(reqDto.getDeptId());//sourceId:341243_1
            judgeBasicFirstLeadTargetArrangeReqDto.setDeptOkrTargetId(reqDto.getDeptOkrTargetId());//sourceId:341244_1
        }

        /*D3-3判断基层第1步执行目标安排[4674]   */
        Assert.isNull(judgeBasicFirstLeadTargetArrangeReqDto.getDeptId(), "B3-3判断基层第1步执行目标安排(管理)-D3-3判断基层第1步执行目标安排-部门ID不能为空", false);
        Assert.isNull(judgeBasicFirstLeadTargetArrangeReqDto.getDeptOkrTargetId(), "B3-3判断基层第1步执行目标安排(管理)-D3-3判断基层第1步执行目标安排-部门OKR目标ID不能为空", false);
        judgeBasicFirstLeadTargetArrangeRespDto = fwAppEvaSystemClient.judgeBasicFirstLeadTargetArrange(judgeBasicFirstLeadTargetArrangeReqDto).getData();


        judgeBasicFirstLeadTargetArrangeRespDto_1 = judgeBasicFirstLeadTargetArrangeRespDto;

        BffJudgeBasicFirstLeadTargetArrangeRespDto retData = new BffJudgeBasicFirstLeadTargetArrangeRespDto();
        if (judgeBasicFirstLeadTargetArrangeRespDto_1 != null) {
            retData.setTargetTaskDivRoom(judgeBasicFirstLeadTargetArrangeRespDto_1.getTargetTaskDivRoom());//sourceId:341249_1
            retData.setAchieveArrangeRoom(judgeBasicFirstLeadTargetArrangeRespDto_1.getAchieveArrangeRoom());//sourceId:341250_1
        }


        return retData;
    }

    /**
     * B3修订指标目标周期名称(管理)[4172]
     * gen by moon at 11/29/2022, 8:06:04 PM
     */
    @Trace(operationName = "B3修订指标目标周期名称(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffReviseTargetCycleNameRespDto reviseTargetCycleName(BffReviseTargetCycleNameReqDto reqDto) {


        //步骤0: D3修订指标目标周期名称 - reviseTargetCycleName
        ReviseTargetCycleNameRespDto reviseTargetCycleNameRespDto = null;
        ReviseTargetCycleNameReqDto reviseTargetCycleNameReqDto = new ReviseTargetCycleNameReqDto();
        if (reqDto != null) {
            reviseTargetCycleNameReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:439417_1
            reviseTargetCycleNameReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:464398_1
            reviseTargetCycleNameReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:439430_1
        }
        if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
            reviseTargetCycleNameReqDto.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:439418_1
        }

        /*D3修订指标目标周期名称[5208]   */
        Assert.isNull(reviseTargetCycleNameReqDto.getObjectiveId(), "B3修订指标目标周期名称(管理)-D3修订指标目标周期名称-指标ID不能为空", false);
        Assert.isNull(reviseTargetCycleNameReqDto.getEvaluationTemplateId(), "B3修订指标目标周期名称(管理)-D3修订指标目标周期名称-冗余评价模板ID不能为空", false);
        Assert.isNull(reviseTargetCycleNameReqDto.getBatchCode(), "B3修订指标目标周期名称(管理)-D3修订指标目标周期名称-批次标识不能为空", false);
        reviseTargetCycleNameRespDto = fwAppEvaSystemClient.reviseTargetCycleName(reviseTargetCycleNameReqDto).getData();


        BffReviseTargetCycleNameRespDto retData = new BffReviseTargetCycleNameRespDto();


        return retData;
    }

    /**
     * B3修订权重及分(管理)[5218]
     * gen by moon at 12/13/2022, 4:10:40 AM
     */
    @Trace(operationName = "B3修订权重及分(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffReviseWeightOrBranchRespDto reviseWeightOrBranch(BffReviseWeightOrBranchReqDto reqDto) {


        //步骤0: D3修订权重及分 - reviseWeightOrBranch
        ReviseWeightOrBranchRespDto reviseWeightOrBranchRespDto = null;
        ReviseWeightOrBranchReqDto reviseWeightOrBranchReqDto = new ReviseWeightOrBranchReqDto();
        if (reqDto != null) {
            reviseWeightOrBranchReqDto.setWeightObjTypeCode(reqDto.getWeightObjTypeCode());//SimpleFieldAssign//sourceId:440763_1
            reviseWeightOrBranchReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:440759_1
            reviseWeightOrBranchReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:440760_1
            reviseWeightOrBranchReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:440761_1
            reviseWeightOrBranchReqDto.setCloneSubCycle(reqDto.getCloneSubCycle());//SimpleFieldAssign//sourceId:507911_1
        }
        if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
            reviseWeightOrBranchReqDto.setChangeColumnList(//objList-to-objLists
                    reqDto.getChangeColumnList().stream().map(item -> {
                        ChangeColumnDto elm = new ChangeColumnDto();
                        if (item != null) {
                            elm.setEntityId(item.getEntityId());//SimpleFieldAssign//sourceId:119097_2
                            elm.setCustomField(item.getTargetCycleContentId() != null ? String.valueOf(item.getTargetCycleContentId()) : "");//SimpleFieldAssign//sourceId:132004_2
                            elm.setCustomField1(item.getEvaObjTargetCycleId() != null ? String.valueOf(item.getEvaObjTargetCycleId()) : "");//SimpleFieldAssign//sourceId:136383_2
                            elm.setObjectPropertyCode(item.getObjectPropertyCode());//SimpleFieldAssign//sourceId:119092_2
                            elm.setObjectPropertyName(item.getObjectPropertyName());//SimpleFieldAssign//sourceId:119093_2
                            elm.setMetaDataColumnContent(item.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:119094_2
                            elm.setOriColumnContent(item.getOriColumnContent());//SimpleFieldAssign//sourceId:119095_2
                            elm.setColumnContent(item.getColumnContent());//SimpleFieldAssign//sourceId:119096_2
                        }
                        return elm;
                    }).collect(Collectors.toList()));//objList-to-objLists//sourceId:440762_1
        }

        /*D3修订权重及分[5215]   */
        Assert.isNull(reviseWeightOrBranchReqDto.getWeightObjTypeCode(), "B3修订权重及分(管理)-D3修订权重及分-权重设置对象类型编码不能为空", false);
        Assert.isNull(reviseWeightOrBranchReqDto.getTableTypeCode(), "B3修订权重及分(管理)-D3修订权重及分-冗余内容表类型编码不能为空", false);
        Assert.isNull(reviseWeightOrBranchReqDto.getEntityId(), "B3修订权重及分(管理)-D3修订权重及分-冗余内容表主键ID不能为空", false);
        Assert.isNull(reviseWeightOrBranchReqDto.getBatchCode(), "B3修订权重及分(管理)-D3修订权重及分-批次标识不能为空", false);
        Assert.isNull(reviseWeightOrBranchReqDto.getCloneSubCycle(), "B3修订权重及分(管理)-D3修订权重及分-用于判断克隆子周期不能为空", false);
        reviseWeightOrBranchRespDto = fwAppEvaSystemClient.reviseWeightOrBranch(reviseWeightOrBranchReqDto).getData();


        BffReviseWeightOrBranchRespDto retData = new BffReviseWeightOrBranchRespDto();


        return retData;
    }

    /**
     * B3执行诊断及修订指标目标或诊断值(管理)[5221]
     * gen by moon at 12/18/2022, 6:15:53 PM
     */
    @Trace(operationName = "B3执行诊断及修订指标目标或诊断值(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementDiagnoseReviseTargetOrDiagnosticValueRespDto implementDiagnoseReviseTargetOrDiagnosticValue(BffImplementDiagnoseReviseTargetOrDiagnosticValueReqDto reqDto) {


        //步骤0: D3执行诊断及修订指标目标或诊断值 - implementDiagnoseReviseTargetOrDiagnosticValue
        ImplementDiagnoseReviseTargetOrDiagnosticValueRespDto implementDiagnoseReviseTargetOrDiagnosticValueRespDto = null;
        ImplementDiagnoseReviseTargetOrDiagnosticValueReqDto implementDiagnoseReviseTargetOrDiagnosticValueReqDto = new ImplementDiagnoseReviseTargetOrDiagnosticValueReqDto();
        if (reqDto != null) {
            implementDiagnoseReviseTargetOrDiagnosticValueReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:441083_1
            implementDiagnoseReviseTargetOrDiagnosticValueReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:441084_1
            implementDiagnoseReviseTargetOrDiagnosticValueReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:441085_1
        }
        if (reqDto != null && reqDto.getChangeColumnList() != null && !CollectionUtil.isEmpty(reqDto.getChangeColumnList())) {
            implementDiagnoseReviseTargetOrDiagnosticValueReqDto.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:441082_1
        }

        /*D3执行诊断及修订指标目标或诊断值[5220]   */
        Assert.isNull(implementDiagnoseReviseTargetOrDiagnosticValueReqDto.getObjectiveId(), "B3执行诊断及修订指标目标或诊断值(管理)-D3执行诊断及修订指标目标或诊断值-指标ID不能为空", false);
        Assert.isNull(implementDiagnoseReviseTargetOrDiagnosticValueReqDto.getEvaObjTypeCode(), "B3执行诊断及修订指标目标或诊断值(管理)-D3执行诊断及修订指标目标或诊断值-被评对象类型编码不能为空", false);
        Assert.isNull(implementDiagnoseReviseTargetOrDiagnosticValueReqDto.getBatchCode(), "B3执行诊断及修订指标目标或诊断值(管理)-D3执行诊断及修订指标目标或诊断值-批次标识不能为空", false);
        implementDiagnoseReviseTargetOrDiagnosticValueRespDto = fwAppEvaSystemClient.implementDiagnoseReviseTargetOrDiagnosticValue(implementDiagnoseReviseTargetOrDiagnosticValueReqDto).getData();


        BffImplementDiagnoseReviseTargetOrDiagnosticValueRespDto retData = new BffImplementDiagnoseReviseTargetOrDiagnosticValueRespDto();


        return retData;
    }

    /**
     * B3批量撤销修订指标相关数据(管理)[4498]
     * gen by moon at 11/18/2022, 7:34:10 PM
     */
    @Trace(operationName = "B3批量撤销修订指标相关数据(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchUndoReviseTargetDataRespDto batchUndoReviseTargetData(BffBatchUndoReviseTargetDataReqDto reqDto) {


        //步骤0: D3批量撤销修订指标相关数据 - batchUndoReviseTargetData
        BatchUndoReviseTargetDataRespDto batchUndoReviseTargetDataRespDto = null;
        BatchUndoReviseTargetDataReqDto batchUndoReviseTargetDataReqDto = new BatchUndoReviseTargetDataReqDto();
        if (reqDto != null) {
            batchUndoReviseTargetDataReqDto.setUndoReviseReviseTargetData(reqDto.getUndoReviseReviseTargetData());//SimpleFieldAssign//sourceId:442398_1
            batchUndoReviseTargetDataReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:442399_1
            batchUndoReviseTargetDataReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:442400_1
            batchUndoReviseTargetDataReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:442401_1
        }

        /*D3批量撤销修订指标相关数据[5223]   */
        Assert.isNull(batchUndoReviseTargetDataReqDto.getUndoReviseReviseTargetData(), "B3批量撤销修订指标相关数据(管理)-D3批量撤销修订指标相关数据-撤销修订指标相关信息不能为空", false);
        Assert.isNull(batchUndoReviseTargetDataReqDto.getEntityId(), "B3批量撤销修订指标相关数据(管理)-D3批量撤销修订指标相关数据-冗余内容表主键ID不能为空", false);
        Assert.isNull(batchUndoReviseTargetDataReqDto.getEvaObjTypeCode(), "B3批量撤销修订指标相关数据(管理)-D3批量撤销修订指标相关数据-被评对象类型编码不能为空", false);
        Assert.isNull(batchUndoReviseTargetDataReqDto.getEvaluationTemplateId(), "B3批量撤销修订指标相关数据(管理)-D3批量撤销修订指标相关数据-评价模板ID不能为空", false);
        batchUndoReviseTargetDataRespDto = fwAppEvaSystemClient.batchUndoReviseTargetData(batchUndoReviseTargetDataReqDto).getData();


        BffBatchUndoReviseTargetDataRespDto retData = new BffBatchUndoReviseTargetDataRespDto();


        return retData;
    }

    /**
     * B3查询下级目标内容及周期列表(管理)[5243]
     * gen by moon at 11/20/2022, 1:34:01 AM
     */
    @Trace(operationName = "B3查询下级目标内容及周期列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySubordinateTargetContentCycleListRespDto querySubordinateTargetContentCycleList(BffQuerySubordinateTargetContentCycleListReqDto reqDto) {


        QuerySubordinateTargetContentCycleListRespDto querySubordinateTargetContentCycleListRespDto_1 = null;
//步骤0: D3查询下级目标内容及周期列表 - querySubordinateTargetContentCycleList
        QuerySubordinateTargetContentCycleListRespDto querySubordinateTargetContentCycleListRespDto = null;
        QuerySubordinateTargetContentCycleListReqDto querySubordinateTargetContentCycleListReqDto = new QuerySubordinateTargetContentCycleListReqDto();
        if (reqDto != null) {
            querySubordinateTargetContentCycleListReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:444976_1
            querySubordinateTargetContentCycleListReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:444977_1
            querySubordinateTargetContentCycleListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:444978_1
            querySubordinateTargetContentCycleListReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:444979_1
            querySubordinateTargetContentCycleListReqDto.setEvaObjTableTypeCode(reqDto.getEvaObjTableTypeCode());//SimpleFieldAssign//sourceId:444980_1
            querySubordinateTargetContentCycleListReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:444981_1
            querySubordinateTargetContentCycleListReqDto.setTreeTypeCode(reqDto.getTreeTypeCode());//SimpleFieldAssign//sourceId:444982_1
        }

        /*D3查询下级目标内容及周期列表[5242]   */
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getTargetCycleContentTypeCode(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-关联目标内容类型编码不能为空", false);
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getTargetCycleContentId(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-关联目标内容ID不能为空", false);
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getEvaluationTemplateId(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-评价模板ID不能为空", false);
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getEvaObjEntityId(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-被评对象内容表主键ID不能为空", false);
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getEvaObjTableTypeCode(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-被评对象内容表类型编码不能为空", false);
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getEvaObjTypeCode(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-被评对象类型编码不能为空", false);
        Assert.isNull(querySubordinateTargetContentCycleListReqDto.getTreeTypeCode(), "B3查询下级目标内容及周期列表(管理)-D3查询下级目标内容及周期列表-树类型编码不能为空", false);
        querySubordinateTargetContentCycleListRespDto = fwAppEvaSystemClient.querySubordinateTargetContentCycleList(querySubordinateTargetContentCycleListReqDto).getData();


        querySubordinateTargetContentCycleListRespDto_1 = querySubordinateTargetContentCycleListRespDto;

        BffQuerySubordinateTargetContentCycleListRespDto retData = new BffQuerySubordinateTargetContentCycleListRespDto();
        if (querySubordinateTargetContentCycleListRespDto_1 != null) {
            retData.setSubordinateTargetContentCycleList(querySubordinateTargetContentCycleListRespDto_1.getTargetContentList().stream().map(item -> BeanUtil.toBean(item, BffSubordinateTargetContentCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:444992_1
            retData.setCycleList(querySubordinateTargetContentCycleListRespDto_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, BffCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:444993_1
        }

        // TODO: 2022/11/27 以下是手写代码，AB树

        List<TreeNode> nodeList = new ArrayList<>();
        for (BffSubordinateTargetContentCycleDto main : retData.getSubordinateTargetContentCycleList()) {
            TreeNode node = new TreeNode();
            node.setNLevel(1L);
            node.setSelf(main);
            nodeList.add(node);
            for (BffCycleDto sub : retData.getCycleList()) {
                if (sub.getTargetCycleContentId().equals(main.getTagetContentId())) {
                    TreeNode subNode = new TreeNode();
                    subNode.setNLevel(2L);
                    subNode.setSelf(sub);
                    node.getChildrenList().add(subNode);
                }
            }
        }

        retData.setTreeNode(nodeList);
        retData.setSubordinateTargetContentCycleList(null);
        retData.setCycleList(null);

        return retData;
    }

    /**
     * B3判断目标内容是否存在修订(管理)[5230]
     * gen by moon at 12/5/2022, 2:18:49 PM
     */
    @Trace(operationName = "B3判断目标内容是否存在修订(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffJudgeTargetIsReviseDataRespDto judgeTargetIsReviseData(BffJudgeTargetIsReviseDataReqDto reqDto) {


        JudgeTargetIsReviseDataRespDto judgeTargetIsReviseDataRespDto_1 = null;
//步骤0: D3判断目标内容是否存在修订 - judgeTargetIsReviseData
        JudgeTargetIsReviseDataRespDto judgeTargetIsReviseDataRespDto = null;
        JudgeTargetIsReviseDataReqDto judgeTargetIsReviseDataReqDto = new JudgeTargetIsReviseDataReqDto();
        if (reqDto != null) {
            judgeTargetIsReviseDataReqDto.setUndoReviseReviseTargetData(reqDto.getUndoReviseReviseTargetData());//SimpleFieldAssign//sourceId:442640_1
            judgeTargetIsReviseDataReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:488103_1
            judgeTargetIsReviseDataReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:442641_1
            judgeTargetIsReviseDataReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:442642_1
            judgeTargetIsReviseDataReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:442643_1
        }

        /*D3判断目标内容是否存在修订[5231]   */
        Assert.isNull(judgeTargetIsReviseDataReqDto.getUndoReviseReviseTargetData(), "B3判断目标内容是否存在修订(管理)-D3判断目标内容是否存在修订-撤销修订指标相关信息不能为空", false);
        Assert.isNull(judgeTargetIsReviseDataReqDto.getTableTypeCode(), "B3判断目标内容是否存在修订(管理)-D3判断目标内容是否存在修订-冗余内容表类型编码不能为空", false);
        Assert.isNull(judgeTargetIsReviseDataReqDto.getEntityId(), "B3判断目标内容是否存在修订(管理)-D3判断目标内容是否存在修订-冗余内容表主键ID不能为空", false);
        Assert.isNull(judgeTargetIsReviseDataReqDto.getEvaObjTypeCode(), "B3判断目标内容是否存在修订(管理)-D3判断目标内容是否存在修订-被评对象类型编码不能为空", false);
        Assert.isNull(judgeTargetIsReviseDataReqDto.getEvaluationTemplateId(), "B3判断目标内容是否存在修订(管理)-D3判断目标内容是否存在修订-评价模板ID不能为空", false);
        judgeTargetIsReviseDataRespDto = fwAppEvaSystemClient.judgeTargetIsReviseData(judgeTargetIsReviseDataReqDto).getData();


        judgeTargetIsReviseDataRespDto_1 = judgeTargetIsReviseDataRespDto;

        BffJudgeTargetIsReviseDataRespDto retData = new BffJudgeTargetIsReviseDataRespDto();
        if (judgeTargetIsReviseDataRespDto_1 != null) {
            retData.setOutputNum(judgeTargetIsReviseDataRespDto_1.getOutputNum());//SimpleFieldAssign//sourceId:442649_1
        }


        return retData;
    }

    /**
     * B3-查询汇报任务归属评价模板列表[5467]
     * gen by moon at 12/15/2022, 3:19:48 PM
     */
    @Trace(operationName = "B3-查询汇报任务归属评价模板列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTaskReportEvaTempListRespDto queryTaskReportEvaTempList(BffQueryTaskReportEvaTempListReqDto reqDto) {


        QueryTaskReportEvaTempListComRespDto queryTaskReportEvaTempListComRespDto_1 = null;
//步骤0: D3-查询汇报任务归属评价模板列表(公共) - queryTaskReportEvaTempListCom
        QueryTaskReportEvaTempListComRespDto queryTaskReportEvaTempListComRespDto = null;
        QueryTaskReportEvaTempListComReqDto queryTaskReportEvaTempListComReqDto = new QueryTaskReportEvaTempListComReqDto();


        /*D3-查询汇报任务归属评价模板列表(公共)[5468]   */

        queryTaskReportEvaTempListComRespDto = fwAppEvaSystemClient.queryTaskReportEvaTempListCom(queryTaskReportEvaTempListComReqDto).getData();


        queryTaskReportEvaTempListComRespDto_1 = queryTaskReportEvaTempListComRespDto;

        BffQueryTaskReportEvaTempListRespDto retData = new BffQueryTaskReportEvaTempListRespDto();
        if (queryTaskReportEvaTempListComRespDto_1 != null) {
            retData.setEvalTempList(queryTaskReportEvaTempListComRespDto_1.getEvalTempList().stream().map(item -> BeanUtil.toBean(item, BffEvalTempDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:517601_1
        }


        return retData;
    }

    /**
     * B3执行高中基层回退导向步骤房间分析(管理)[5890]
     * gen by moon at 4/15/2023, 3:00:35 PM
     */
    @Trace(operationName = "B3执行高中基层回退导向步骤房间分析(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementTopMidBasicRollBackGuideStepRoomComRespDto implementTopMidBasicRollBackGuideStepRoomCom(BffImplementTopMidBasicRollBackGuideStepRoomComReqDto reqDto) {


        ImplementTopMidBasicRollBackGuideStepRoomComRespDto implementTopMidBasicRollBackGuideStepRoomComRespDto_1 = null;
//步骤0: D3执行高中基层回退导向步骤房间分析 - implementTopMidBasicRollBackGuideStepRoomCom
        ImplementTopMidBasicRollBackGuideStepRoomComRespDto implementTopMidBasicRollBackGuideStepRoomComRespDto = null;
        ImplementTopMidBasicRollBackGuideStepRoomComReqDto implementTopMidBasicRollBackGuideStepRoomComReqDto = new ImplementTopMidBasicRollBackGuideStepRoomComReqDto();
        if (reqDto != null) {
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:664977_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setBatchSetId(reqDto.getBatchSetId());//SimpleFieldAssign//sourceId:664978_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:664979_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:664980_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setReedit(reqDto.getReedit());//SimpleFieldAssign//sourceId:788232_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setEditTargetArrange(reqDto.getEditTargetArrange());//SimpleFieldAssign//sourceId:788233_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setRollbackPlanEditDiv(reqDto.getRollbackPlanEditDiv());//SimpleFieldAssign//sourceId:825969_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setRollbackTargetDiv(reqDto.getRollbackTargetDiv());//SimpleFieldAssign//sourceId:825970_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setRollbackLeaderTargetDiv(reqDto.getRollbackLeaderTargetDiv());//SimpleFieldAssign//sourceId:825971_1
            implementTopMidBasicRollBackGuideStepRoomComReqDto.setRollbackExecuteTargetDiv(reqDto.getRollbackExecuteTargetDiv());//SimpleFieldAssign//sourceId:825972_1
        }

        /*D3执行高中基层回退导向步骤房间分析[5891]   */
        Assert.isNull(implementTopMidBasicRollBackGuideStepRoomComReqDto.getBatchOperateScene(), "B3执行高中基层回退导向步骤房间分析(管理)-D3执行高中基层回退导向步骤房间分析-高/中/基层操作场景不能为空", false);
        Assert.isNull(implementTopMidBasicRollBackGuideStepRoomComReqDto.getEvaluationTemplateId(), "B3执行高中基层回退导向步骤房间分析(管理)-D3执行高中基层回退导向步骤房间分析-冗余评价模板ID不能为空", false);
        implementTopMidBasicRollBackGuideStepRoomComRespDto = fwAppEvaSystemClient.implementTopMidBasicRollBackGuideStepRoomCom(implementTopMidBasicRollBackGuideStepRoomComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementTopMidBasicRollBackGuideStepRoomComRespDto_1 = implementTopMidBasicRollBackGuideStepRoomComRespDto;

        BffImplementTopMidBasicRollBackGuideStepRoomComRespDto retData = new BffImplementTopMidBasicRollBackGuideStepRoomComRespDto();
        if (implementTopMidBasicRollBackGuideStepRoomComRespDto_1 != null) {
            retData.setCompileTargetTaskRoom(implementTopMidBasicRollBackGuideStepRoomComRespDto_1.getCompileTargetTaskRoom());//SimpleFieldAssign//sourceId:665341_1
            retData.setTargetTaskDivRoom(implementTopMidBasicRollBackGuideStepRoomComRespDto_1.getTargetTaskDivRoom());//SimpleFieldAssign//sourceId:665342_1
            retData.setDeptTargetWeightSetRoom(implementTopMidBasicRollBackGuideStepRoomComRespDto_1.getDeptTargetWeightSetRoom());//SimpleFieldAssign//sourceId:665343_1
            retData.setLeadTargetArrangeRoom(implementTopMidBasicRollBackGuideStepRoomComRespDto_1.getLeadTargetArrangeRoom());//SimpleFieldAssign//sourceId:665344_1
            retData.setExecuteTargetArrangeRoom(implementTopMidBasicRollBackGuideStepRoomComRespDto_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:665345_1
        }


        return retData;
    }

    /**
     * B3执行中层目标分工房间返回判断(管理)[7096]
     * gen by moon at 6/24/2023, 3:05:58 AM
     */
    @Trace(operationName = "B3执行中层目标分工房间返回判断(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementMidTargetDivRoomReturnJudgeRespDto implementMidTargetDivRoomReturnJudge(BffImplementMidTargetDivRoomReturnJudgeReqDto reqDto) {


        ImplementMidStepSocietyRoomAnalyseComRespDto implementMidStepSocietyRoomAnalyseComRespDto_1 = null;
//步骤0: D3执行中层步骤对应房间分析(公共) - implementMidStepSocietyRoomAnalyseCom
        ImplementMidStepSocietyRoomAnalyseComRespDto implementMidStepSocietyRoomAnalyseComRespDto = null;
        ImplementMidStepSocietyRoomAnalyseComReqDto implementMidStepSocietyRoomAnalyseComReqDto = new ImplementMidStepSocietyRoomAnalyseComReqDto();
        implementMidStepSocietyRoomAnalyseComReqDto.setRollbackExecuteTargetDiv("1");//CUSTOM_CONVENTION//sourceId:1053850_1
        if (reqDto != null) {
            implementMidStepSocietyRoomAnalyseComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1001872_1
            implementMidStepSocietyRoomAnalyseComReqDto.setDeptTargetTaskBookId(reqDto.getDeptTargetTaskBookId());//SimpleFieldAssign//sourceId:1001873_1
        }

        /*D3执行中层步骤对应房间分析(公共)[4671]   */
        Assert.isNull(implementMidStepSocietyRoomAnalyseComReqDto.getDeptId(), "B3执行中层目标分工房间返回判断(管理)-D3执行中层步骤对应房间分析(公共)-部门ID不能为空", false);
        Assert.isNull(implementMidStepSocietyRoomAnalyseComReqDto.getDeptTargetTaskBookId(), "B3执行中层目标分工房间返回判断(管理)-D3执行中层步骤对应房间分析(公共)-部门目标任务书ID不能为空", false);
        Assert.isNull(implementMidStepSocietyRoomAnalyseComReqDto.getRollbackExecuteTargetDiv(), "B3执行中层目标分工房间返回判断(管理)-D3执行中层步骤对应房间分析(公共)-返回执行目标安排不能为空", false);
        implementMidStepSocietyRoomAnalyseComRespDto = fwAppEvaSystemClient.implementMidStepSocietyRoomAnalyseCom(implementMidStepSocietyRoomAnalyseComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementMidStepSocietyRoomAnalyseComRespDto_1 = implementMidStepSocietyRoomAnalyseComRespDto;

        BffImplementMidTargetDivRoomReturnJudgeRespDto retData = new BffImplementMidTargetDivRoomReturnJudgeRespDto();
        if (implementMidStepSocietyRoomAnalyseComRespDto_1 != null) {
            retData.setLeadTargetArrangeRoom(implementMidStepSocietyRoomAnalyseComRespDto_1.getLeadTargetArrangeRoom());//SimpleFieldAssign//sourceId:1001888_1
            retData.setExecuteTargetArrangeRoom(implementMidStepSocietyRoomAnalyseComRespDto_1.getExecuteTargetArrangeRoom());//SimpleFieldAssign//sourceId:1001884_1
        }


        return retData;
    }

    /**
     * B3执行新增批次导向步骤房间(管理)[7231]
     * gen by moon at 6/23/2023, 5:39:44 AM
     */
    @Trace(operationName = "B3执行新增批次导向步骤房间(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffImplementAddBatchGuideStepRoomRespDto implementAddBatchGuideStepRoom(BffImplementAddBatchGuideStepRoomReqDto reqDto) {


        ImplementAddBatchGuideStepRoomComRespDto implementAddBatchGuideStepRoomComRespDto_1 = null;
//步骤0: D3执行新增批次导向步骤房间(公共) - implementAddBatchGuideStepRoomCom
        ImplementAddBatchGuideStepRoomComRespDto implementAddBatchGuideStepRoomComRespDto = null;
        ImplementAddBatchGuideStepRoomComReqDto implementAddBatchGuideStepRoomComReqDto = new ImplementAddBatchGuideStepRoomComReqDto();
        if (reqDto != null) {
            implementAddBatchGuideStepRoomComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1052295_1
        }

        /*D3执行新增批次导向步骤房间(公共)[7230]   */
        Assert.isNull(implementAddBatchGuideStepRoomComReqDto.getBatchOperateScene(), "B3执行新增批次导向步骤房间(管理)-D3执行新增批次导向步骤房间(公共)-高/中/基层操作场景不能为空", false);
        implementAddBatchGuideStepRoomComRespDto = fwAppEvaSystemClient.implementAddBatchGuideStepRoomCom(implementAddBatchGuideStepRoomComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementAddBatchGuideStepRoomComRespDto_1 = implementAddBatchGuideStepRoomComRespDto;

        BffImplementAddBatchGuideStepRoomRespDto retData = new BffImplementAddBatchGuideStepRoomRespDto();
        if (implementAddBatchGuideStepRoomComRespDto_1 != null) {
            retData.setPalnCompileAchieveRoom(implementAddBatchGuideStepRoomComRespDto_1.getPalnCompileAchieveRoom());//SimpleFieldAssign//sourceId:1052299_1
            retData.setAchieveArrangeRoom(implementAddBatchGuideStepRoomComRespDto_1.getAchieveArrangeRoom());//SimpleFieldAssign//sourceId:1052300_1
        }


        return retData;
    }

    /**
     * B3-查设置建设任务预算列表(管理)[7674]
     * gen by moon at 11/27/2023, 12:06:57 AM
     */
    @Trace(operationName = "B3-查设置建设任务预算列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQuerySetConstructionTaskBudgetListRespDto querySetConstructionTaskBudgetList(BffQuerySetConstructionTaskBudgetListReqDto reqDto) {


        QueryMidTopPlanConstrTaskBudgetListRespDto queryMidTopPlanConstrTaskBudgetListRespDto_1 = null;
        BatchQueryAccountCapitalSourceComRespDto batchQueryAccountCapitalSourceComRespDto_1 = null;
//步骤0: D3查中高层建设任务预算列表 - queryMidTopPlanConstrTaskBudgetList
        QueryMidTopPlanConstrTaskBudgetListRespDto queryMidTopPlanConstrTaskBudgetListRespDto = null;
        QueryMidTopPlanConstrTaskBudgetListReqDto queryMidTopPlanConstrTaskBudgetListReqDto = new QueryMidTopPlanConstrTaskBudgetListReqDto();
        queryMidTopPlanConstrTaskBudgetListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1235435_1
        if (reqDto != null) {
            queryMidTopPlanConstrTaskBudgetListReqDto.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:1235428_1
            queryMidTopPlanConstrTaskBudgetListReqDto.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1235429_1
            queryMidTopPlanConstrTaskBudgetListReqDto.setPeriodId(reqDto.getPeriodId());//SimpleFieldAssign//sourceId:1235430_1
            queryMidTopPlanConstrTaskBudgetListReqDto.setIsParentCycle(reqDto.getIsParentCycle());//SimpleFieldAssign//sourceId:1235431_1
            queryMidTopPlanConstrTaskBudgetListReqDto.setIsSubCycle(reqDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1235432_1
            queryMidTopPlanConstrTaskBudgetListReqDto.setIsMetaphase(reqDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1235433_1
            queryMidTopPlanConstrTaskBudgetListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1235434_1
        }

        /*D3查中高层建设任务预算列表[7675]   */
        Assert.isNull(queryMidTopPlanConstrTaskBudgetListReqDto.getEvaObjEntityId(), "B3-查设置建设任务预算列表(管理)-D3查中高层建设任务预算列表-被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskBudgetListReqDto.getEvaObjTypeCode(), "B3-查设置建设任务预算列表(管理)-D3查中高层建设任务预算列表-被评对象类型编码不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskBudgetListReqDto.getPeriodId(), "B3-查设置建设任务预算列表(管理)-D3查中高层建设任务预算列表-周期ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskBudgetListReqDto.getEvaluationTemplateId(), "B3-查设置建设任务预算列表(管理)-D3查中高层建设任务预算列表-冗余评价模板ID不能为空", false);
        Assert.isNull(queryMidTopPlanConstrTaskBudgetListReqDto.getSubjectLifeCycle(), "B3-查设置建设任务预算列表(管理)-D3查中高层建设任务预算列表-主体生命周期不能为空", false);
        queryMidTopPlanConstrTaskBudgetListRespDto = fwAppTargetContentClient.queryMidTopPlanConstrTaskBudgetList(queryMidTopPlanConstrTaskBudgetListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryMidTopPlanConstrTaskBudgetListRespDto_1 = queryMidTopPlanConstrTaskBudgetListRespDto;

//步骤1: D7批量查财务资金来源(公共) - batchQueryAccountCapitalSourceCom
        BatchQueryAccountCapitalSourceComRespDto batchQueryAccountCapitalSourceComRespDto = null;
        if (queryMidTopPlanConstrTaskBudgetListRespDto != null) {
            BatchQueryAccountCapitalSourceComReqDto batchQueryAccountCapitalSourceComReqDto = new BatchQueryAccountCapitalSourceComReqDto();
            if (queryMidTopPlanConstrTaskBudgetListRespDto != null && queryMidTopPlanConstrTaskBudgetListRespDto.getMidTopPlanConstrTaskBudgetList() != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskBudgetListRespDto.getMidTopPlanConstrTaskBudgetList())) {
                batchQueryAccountCapitalSourceComReqDto.setAccountCapitalSourceList(queryMidTopPlanConstrTaskBudgetListRespDto.getMidTopPlanConstrTaskBudgetList().stream().map(item -> String.valueOf(item.getCapitalSourceId()))
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1235438_1
            }

            /*D7批量查财务资金来源(公共)[7665]   */

            batchQueryAccountCapitalSourceComRespDto = fwFinanceFinanceClient.batchQueryAccountCapitalSourceCom(batchQueryAccountCapitalSourceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            batchQueryAccountCapitalSourceComRespDto_1 = batchQueryAccountCapitalSourceComRespDto;
        }

        BffQuerySetConstructionTaskBudgetListRespDto retData = new BffQuerySetConstructionTaskBudgetListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryMidTopPlanConstrTaskBudgetListRespDto_1 != null && !CollectionUtil.isEmpty(queryMidTopPlanConstrTaskBudgetListRespDto_1.getMidTopPlanConstrTaskBudgetList())) {
            for (MidTopPlanConstrTaskBudgetDto midTopPlanConstrTaskBudgetDto : queryMidTopPlanConstrTaskBudgetListRespDto_1.getMidTopPlanConstrTaskBudgetList()) {
                BffSetConstructionTaskBudgetDto retElm = new BffSetConstructionTaskBudgetDto();
                if (queryMidTopPlanConstrTaskBudgetListRespDto_1 != null) {
                    retElm.setEvaObjTargetCycleId(midTopPlanConstrTaskBudgetDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:255255_2
                    retElm.setEvaObjTargetCycleCode(midTopPlanConstrTaskBudgetDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:255256_2
                    retElm.setParentEvaObjTargetCycleId(midTopPlanConstrTaskBudgetDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:255257_2
                    retElm.setCyclelAlias(midTopPlanConstrTaskBudgetDto.getCyclelAlias());//SimpleFieldAssign//sourceId:255258_2
                    retElm.setEvaObjEntityId(midTopPlanConstrTaskBudgetDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:255259_2
                    retElm.setEvaObjTypeCode(midTopPlanConstrTaskBudgetDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:255260_2
                    retElm.setTargetCycleContentTypeCode(midTopPlanConstrTaskBudgetDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:255261_2
                    retElm.setTargetCycleContentId(midTopPlanConstrTaskBudgetDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:255262_2
                    retElm.setCycleId(midTopPlanConstrTaskBudgetDto.getCycleId());//SimpleFieldAssign//sourceId:255263_2
                    retElm.setCycleStandardName(midTopPlanConstrTaskBudgetDto.getCycleStandardName());//SimpleFieldAssign//sourceId:255264_2
                    retElm.setTargetId(midTopPlanConstrTaskBudgetDto.getTargetId());//SimpleFieldAssign//sourceId:255265_2
                    retElm.setEvaluationTemplateId(midTopPlanConstrTaskBudgetDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:255266_2
                    retElm.setSubjectLifeCycle(midTopPlanConstrTaskBudgetDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:255267_2
                    retElm.setCapitalSourceId(midTopPlanConstrTaskBudgetDto.getCapitalSourceId());//SimpleFieldAssign//sourceId:255268_2
                    retElm.setBudget(midTopPlanConstrTaskBudgetDto.getBudget());//SimpleFieldAssign//sourceId:255269_2
                    retElm.setBudgetUnit(midTopPlanConstrTaskBudgetDto.getBudgetUnit());//SimpleFieldAssign//sourceId:255270_2
                    retElm.setSourceBudgetFundsProp(midTopPlanConstrTaskBudgetDto.getSourceBudgetFundsProp());//SimpleFieldAssign//sourceId:275216_2
                    retElm.setSourceBudgetFundsPropUnit(midTopPlanConstrTaskBudgetDto.getSourceBudgetFundsPropUnit());//SimpleFieldAssign//sourceId:275217_2
                    retElm.setTargetCycleBudgetFundsProp(midTopPlanConstrTaskBudgetDto.getTargetCycleBudgetFundsProp());//SimpleFieldAssign//sourceId:275218_2
                    retElm.setTargetCycleBudgetFundsPropUnit(midTopPlanConstrTaskBudgetDto.getTargetCycleBudgetFundsPropUnit());//SimpleFieldAssign//sourceId:275219_2
                    retElm.setRelativeOrderNumber(midTopPlanConstrTaskBudgetDto.getRelativeOrderNumber());//SimpleFieldAssign//sourceId:255271_2
                    retElm.setDutyBodyOrderNum(midTopPlanConstrTaskBudgetDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:255272_2
                    retElm.setPersonalOrderNumber(midTopPlanConstrTaskBudgetDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:255273_2
                    retElm.setWeightOrderNumber(midTopPlanConstrTaskBudgetDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:255274_2
                    retElm.setCreateTime(midTopPlanConstrTaskBudgetDto.getCreateTime());//SimpleFieldAssign//sourceId:255275_2
                    retElm.setOperateTime(midTopPlanConstrTaskBudgetDto.getOperateTime());//SimpleFieldAssign//sourceId:255276_2
                    retElm.setSortCreateTime(midTopPlanConstrTaskBudgetDto.getSortCreateTime());//SimpleFieldAssign//sourceId:255277_2
                }
                retData.getSetConstructionTaskBudgetList().add(retElm);
                if (batchQueryAccountCapitalSourceComRespDto_1 != null) {
                    for (AccountCapitalSourceDto accountCapitalSourceDto : batchQueryAccountCapitalSourceComRespDto_1.getAccountCapitalSourceList()) {
                        if (accountCapitalSourceDto.getCapitalSourceId().equals(midTopPlanConstrTaskBudgetDto.getCapitalSourceId())) {
                            if (batchQueryAccountCapitalSourceComRespDto_1 != null) {
                                retElm.setCapitalSourceName(accountCapitalSourceDto.getCapitalSourceName());//SimpleFieldAssign//sourceId:255280_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1235449_1
        if (queryMidTopPlanConstrTaskBudgetListRespDto_1 != null) {
            retData.setBudget(queryMidTopPlanConstrTaskBudgetListRespDto_1.getBudget());//SimpleFieldAssign//sourceId:1235450_1
            retData.setBudgetUnit(queryMidTopPlanConstrTaskBudgetListRespDto_1.getBudgetUnit());//SimpleFieldAssign//sourceId:1235451_1
        }


        List<Object> allNodes = new ArrayList<>();
        allNodes.addAll(retData.getSetConstructionTaskBudgetList());
        List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
        retData.setTreeNode(nodeList);
        retData.setSetConstructionTaskBudgetList(null);

        return retData;
    }
    //
}
